sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37835
Re: [Question #292921]: How to make a "bridge" to 2 or 3 script
Question #292921 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/292921
Snoopino posted a new comment:
Thank you Roman for your help...
i've tried to modify the first script, that i've called "start001):
def start001():
try:
while True:
Settings.MoveMouseDelay = 0
click("1461871061524.png")
wait("1461998054978.png" , 30)
click("1461790568264.png")
wait("1461927466069.png" , 30)
click("1461929814234.png")
wait (0.1)
paste ("58715087")
wait(0.1)
click("1461790625878.png")
wait (2)
click("1461790735584.png")
wait (2)
click("1461790751014.png")
wait("1461839397368.png" , 30)
wait (0.2)
click("1461790801445.png")
wait("1461839780061.png" , 30)
wait (3)
click("1461790824422.png")
wait("1461839952318.png" , 30)
wait (0.1)
click("1461790878725.png")
wait("1461840026660.png" , 30)
wait (0.1)
click("1461790924671.png")
wait (5)
doubleClick("1461791381153.png")
wait (1)
doubleClick("1461791381153.png")
wait (1)
doubleClick("1461791381153.png")
wait (2)
click("1461790987905.png")
wait (0.1)
click("1461791962165.png")
wait (0.5)
click("1461855597073.png")
wait (0.1)
click("1461791027702.png")
wait (2)
doubleClick("1461949032982.png")
wait (1)
click("1461791050838.png")
wait (0.1)
click("1461792278856.png")
wait (0.1)
click("1461792296200.png")
wait (0.1)
click("1461792310678.png")
wait (0.1)
click("1461792323422.png")
wait (0.1)
click("1461792334663.png")
wait (0.1)
click("1461792345406.png")
wait (0.1)
click("1461792358266.png")
wait (0.1)
click("1461862522746.png")
wait (0.1)
click("1461862566518.png")
wait (0.1)
click("1461792376958.png")
wait (0.1)
paste ("sa")
wait (0.1)
click("1461792407816.png")
wait (0.1)
click("1461792420711.png")
wait (0.1)
click("1461792442271.png")
wait (0.1)
click("1461792461960.png")
wait (0.1)
click("1461792473576.png")
wait (0.1)
click("1461792485133.png")
wait (0.1)
click("1461792495230.png")
wait (0.1)
click("1461792508725.png")
wait (0.1)
click("1461792518947.png")
wait (0.1)
click("1461792528359.png")
wait (0.1)
click("1461792542597.png")
wait (0.1)
click("1461792551023.png")
wait (0.1)
click("1461792560319.png")
wait (0.1)
click("1461792569671.png")
wait (0.1)
click("1461792578932.png")
wait (0.1)
click("1461792588858.png")
wait (0.1)
click("1461792597588.png")
click("1461792607784.png")
wait (4)
click("1461856775703.png")
wait("1462009915467.png" , 30)
doubleClick("1461856802828.png")
click("1461856851459.png")
wait("1461862957369.png" , 30)
wait (5)
click("1461856907012.png")
wait (15)
click("1461871123310.png")
wait("1461872297908.png" , 30)
click("1461871148881.png")
wait (3)
return False
except Findfailed:
return true
and i have this:
[error] script [ start001 ]] stopped with error at line --unknown--
[error] Could not evaluate error source nor reason. Analyze StackTrace!
[error] IndentationError: ('unindent does not match any outer indentation level', ('C:\\Users\\Michele\\AppData\\Local\\Temp\\Sikulix_1711832900\\sikuli-2030697662154354531.py', 119, 10, ' except Findfailed:\n'))
and this if i try to save:
[error] IDE: A non-IOException-problem when trying to save null Error: null
Please, what i'm doing wrong???
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.