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.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp