sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09454
Re: [Question #191232]: Region thumbnail gets changed after reopening script
Question #191232 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191232
Status: Open => Answered
RaiMan proposed the following answer:
Yes the Region definition is still the same (just hover over the
thumbnail). The thumbnail is created at script loading time.
If you do not like the thumbnail, but want to see your definition, the
use this trick:
Region(0+30,879,129,79)
which will hide it from the regular expression search.
BTW: have a look at the App class, to find out, how to get the region of
the app window dynamically.
One more thing:
Region(30,879,129,79).inside().find("picture.png")
and
Region(30,879,129,79).find("picture.png")
are exactly the same (inside() is some backward compatibility history)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.