sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38710
[Question #295760]: Wrap Alt-Shift-C
New question #295760 on Sikuli:
https://answers.launchpad.net/sikuli/+question/295760
I have a script that updates a log file. I've written it in such a way that my script runs indefinitely and the only way to end it is by pressing the Alt-Shift-C. Is there a way to wrap Alt-Shift-C event so that I can properly close my file object? I would like to avoid opening and closing my log file when needed because I have wrapped the click function to write into the file whenever it is called... and I happen to call it very frequently and speed is an issue.
Thanks in advance!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.