How to stop running script when ALT+SHIFT+C is not possible? --- workaround
Asked by
Yadong Yu
---- workaround ---------------- (thanks to post #2)
# add to main script
def StopScript(event):
sys.exit()
Env.addHotkey(
# 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?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Yadong Yu for more information if necessary.
To post a message you must log in.