How to use a self defined hot key to stop a running *.skl
I built a little function:
def clicker():
n = 0
while n < 1000:
wait(1)
n = n + 1
wait(1)
and run the .sikuli containing it, just to try to stop the script using the function below, built according to the answer to the question #172696, and the link given there (http://
but no matter i type "F1 + ALT + CTRL" (see below), the script does not stop.
REMARK: I need to stop the script, *not* to quit Sikuli because i need to read what's written in "Message" (the tab next to "Test Trace", below the place where the script is written).
the function to stop the .sikuli containing the 'clicker' function:
def stopScript(event):
quit(Clicker.
Env.addHotkey(
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: