sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50676
Re: [Question #678739]: IDE Offset Button
Question #678739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678739
Status: Open => Answered
masuo proposed the following answer:
Try this codes.
r1 = Region(100,100,300,300)
r1.highlight(2)
r2 = Region(100,100,300,300).asOffset(100,100)
r2.highlight(2)
You can use "Offset" button when you want to create a region with offset.
This document will help you.
https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=Offset
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.