[1.1.4] Hotkey doesn't work in runnable jar file --- export as runnable jar currently not available.
Asked by
Punith naik
I am using SikuliX 1.1.4
I have converted the following code to runnable jar using sikuli IDE:
stop = False
def xHandler(event):
global stop
stop = True
Env.addHotkey("x", KeyModifier.CTRL + KeyModifier.SHIFT, xHandler)
while(1):
mouseMove(
wait(1)
mouseMove(
wait(1)
if stop == True:
exit()
When I execute jar file and press CTRL+SHIFT+x, execution doesn't stop.
But this works fine when I run the code from sikuli IDE
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:
To post a message you must log in.