Question #679012 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679012
RaiMan proposed the following answer:
No idea, why, but exit() in the try block leads to the processing of the
except block.
so do it this way:
try:
runScript("./testClick.sikuli")
except:
print("sikuli crashes")
exit(1)
exit(0) # only processed if run ok
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp