sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42414
Re: [Question #631226]: set time duration to run script
Question #631226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/631226
RaiMan proposed the following answer:
@masuo: interesting solution ;-)
... but in SikuliX scripts one should never use sys.exit() but exit() to assure the SikuliX internal cleanup.
... hence:
#-----hotkey handler
def Exit_Main(event):
type(Key.CTRL) #dummy type to cancel CTRL
exit()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.