sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07901
Re: [Question #183688]: Capture Text.Please help
Question #183688 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/183688
Status: Open => Answered
RaiMan proposed the following answer:
The normal way, to be able to evaluate/calculate regions on the screen (not specifying its coordinates), is to start with a known region (e.g. app.window(), some match).
Knowing the geometry of the GUI/web-page, you can use the different region features (http://sikuli.org/docx/region.html)
example with this site:
m = find(<image-of-sikuli-logo.png>)
r = m.below(40).left(1).right(500)
would be the region containing the title of the question. This will be
true, no matter, where on the screen the browser window is currently
located.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.