sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34719
Re: [Question #271639]: Havign trouble getting global hotkeys to work in windows 7?
Question #271639 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271639
Status: Open => Answered
masuo proposed the following answer:
addhotkey needs another process that the script does not end .
[To continue until you press ok button:]
def aclick(event):
click("1442850567260.png")
Env.addHotkey(Key.NUM4,KeyModifier.CTRL, aclick)
popup("Press Ctrl+num4 instead of clicking a button")
[To continue for 10 seconds:]
def aclick(event):
click("1442850567260.png")
Env.addHotkey(Key.NUM4,KeyModifier.CTRL, aclick)
wait(10)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.