sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03760
Re: [Question #162592]: How to Copy text from a regions?
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/"
sik = dir+"sikuli-logo-lp.png"
m=find(sik).below(42).left(1).right(600)
m.highlight(3)
print m.text()
if it works, there should be in the message area afterwards:
How to Copy text from a regions
Hope it helps to understand
the sikuli logo image is loaded from the web at
http://its-me-raiman.de/sikuli/images/sikuli-logo-lp.png
If you get a FindFailed, you have to capture the logo on your machine
and replace in find(sik) sik with your capture.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.