sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38906
Re: [Question #297701]: Windows 10 Env.addHotkey Problem
Question #297701 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/297701
Status: Open => Answered
RaiMan proposed the following answer:
tested on Win10-64 with this script:
def function(evt):
print "hotkey callback:", evt
Env.addHotkey(Key.F10, KeyModifier.ALT+KeyModifier.SHIFT, function)
while Mouse.at().y > 10:
wait(1)
the script is stopped by moving the mouse to the top edge of the screen.
It works as expected.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.