Closed GoogleCodeExporter closed 8 years ago
You can use Relative to achieve the same effect as using target offset.
http://code.google.com/p/sikuli-api/wiki/Relative
For example,
ScreenLocation p = Relative.to(r).left(100).getScreenLocation();
mouse.click(p);
Original comment by doubles...@gmail.com
on 17 Jan 2013 at 10:18
Thank you for the reply. That worked perfectly, except that I had to use
ScreenRegion instead of ScreenLocation. The example on this page was very
helpful:
http://code.google.com/p/sikuli-api/wiki/ScreenRegion
Thanks again.
Original comment by lasyaku...@gmail.com
on 21 Jan 2013 at 10:42
Original comment by doubles...@gmail.com
on 26 Feb 2013 at 7:43
Original issue reported on code.google.com by
lasyaku...@gmail.com
on 17 Jan 2013 at 10:14