Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-03 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Open => Solved Joe Harris confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, w

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-03 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Answered => Open Joe Harris is still having a problem: Great That's Awesome Script. (must've took alot of time to write) :D It fine, except of the region was not right, maybe because I'm taking

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-03 Thread RaiMan
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Open => Answered RaiMan proposed the following answer: --- Sikuli's OCR If you want a reliable text copy feature: it is not usable currently. --- type(Key.SHIFT+Key.DOWN) this will never work, s

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-03 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Answered => Open Joe Harris is still having a problem: Thank you ! :) It worked, but Sikuli's Ocr read it as "Howto Copy text from a regions?", and tried on many others too. Always read the inco

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-03 Thread RaiMan
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 RaiMan posted a new comment: Sorry, correction: you might do it this way: s = find(sik) m = Region(s.x-10, s.y+s.h, 600, 42) -- You received this question notification because you are a member of Sikuli D

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-03 Thread RaiMan
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Open => Answered RaiMan proposed the following answer: OK, this is some rendering difference between our 2 browsers (mine: Safari on Mac). you might easily adjust this by adding a correction for

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-03 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Answered => Open Joe Harris is still having a problem: Thank you :-) Okay, it worked, But It doesn't Highlight the whole "HOW" instead the it starts highlights just the -|, It's hard to explain

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-02 Thread RaiMan
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Open => Answered RaiMan proposed the following answer: maximize this question page and scroll to top and make it the frontmost try this script as is dir = "http://its-me-raiman.de/sikuli/images

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-02 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Answered => Open Joe Harris is still having a problem: But I want to extract some Variable string. I cannot use the find function to grab it, because It will result findfailed, If i put the imag

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-01 Thread RaiMan
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Open => Answered RaiMan proposed the following answer: the usage is: theText = find("some-image").text() paste("region to paste text", theText) pls. look into docs: http://sikuli.org/docx/ --

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-07-01 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Answered => Open Joe Harris is still having a problem: I tried I cannot do that, it always give me error or copy whole stuff from the screen this is code which gives me error text("region from w

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-06-24 Thread RaiMan
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 RaiMan proposed the following answer: If Willie's suggestion (which is the primary solution to try) does not satisfy you and the text to copy is selectable with mouse and/or keyboard you might simulate either

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-06-24 Thread Willie
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Status: Open => Answered Willie proposed the following answer: Create a new Region where the text should appear, I believe you can do so with exact or relative coordinates. Then use the text() method to

Re: [Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-06-24 Thread Joe Harris
Question #162592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162592 Joe Harris gave more information on the question: Update: Or I say BUMP? Please help? I need to copy some text which will be generated by some website in a region -- You received this question notificatio

[Sikuli-driver] [Question #162592]: How to Copy text from a regions?

2011-06-24 Thread Joe Harris
New question #162592 on Sikuli: https://answers.launchpad.net/sikuli/+question/162592 I want sikuli to copy the text from regions and paste it in some other window. The text will be dynamic, it will be generated different text strings after pressing a button. Can Sikuli Copy and paste it to some