Question #688352 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688352
RaiMan proposed the following answer:
- failsafe feature that terminates the program
add this to the top of your script:
def terminateHandler(event):
exit(1)
Env.addHotkey("c", KeyModifier.SHIFT + KeyModifier.ALT,
terminateHandler) # example
... use any suitable key combination.
Now pressing the key combo during scriptrun will terminate the
scriptrun.
--
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