sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58648
Re: [Question #705066]: How to stop running script?
Question #705066 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/705066
Corentin Gauquier proposed the following answer:
I think i alredy read a workaround for this :
Just from my memory, I'd say it is something like that :
import sys
def StopScript(event):
sys.exit()
Env.addHotkey(Key, KEY_CTRL, StopScript)
I think it is somewhere on this launchpad, I'll edit this post if I can
find it again.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.