sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58652
Re: [Question #705066]: How to stop running script when ALT+SHIFT+C is not possible? --- workaround
Question #705066 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/705066
Description changed to:
---- workaround ---------------- (thanks to post #2)
# add to main script
def StopScript(event):
sys.exit()
Env.addHotkey(<<key>>,<<modifier>>, StopScript)
# use a suitable key/modifier combination
------------------------
I'm running my script from command line, and i know that hotkey "ALT+SHIFT+C" can do that.
However, hotkey conflict makes this not work sometimes....
Is there any other reliable way to stop the current running script?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.