sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58115
[Question #700878]: How to replace targetOffset from a variable already set targetOffset.
New question #700878 on SikuliX:
https://answers.launchpad.net/sikuli/+question/700878
How to replace targetOffset from a variable already set targetOffset.
def PIC_TT():
TT=Pattern("TT.png").targetOffset(100,0)
return TT
TTT=PIC_TT()
I want change TTT as Pattern("TT.png").targetOffset(50,0)
How can I overwrite its targetOffset setting.
I try TTT.targetOffset=(50,0) but fail.
My "def PIC_TT():" is in another .py file.
My sikuliX version is 2.0.5
I use WIN10.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.