sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50682
Re: [Question #678739]: IDE Offset Button
Question #678739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678739
Status: Answered => Open
Mike is still having a problem:
I can get this to work:
r2 = Region(100,100,300,300).offset(500,500)
However your code gave me:
[error] Error caused by: Traceback (most recent call last): File
"C:\SX\OffsetTest.sikuli\OffsetTest.py", line 6, in <module> r3 =
Region(100,100,300,300).asOffset(100,100) TypeError: asOffset():
expected 0 args; got 2
Did it run on your environment? I am Windows 10 Sikulix 1.1.4
I can imagine why you might want an offsetted region. However the button
a) uses an undocumented method, and b) gives you no visual means of
creating the offset.
It's still a bit of a mystery...
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.