Question #294970 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294970
Status: Open => Answered
masuo proposed the following answer:
Use Key modifiers.
And use Env.addHotkey instead of Key.addHotkey
http://sikulix-2014.readthedocs.io/en/latest/interaction.html?highlight=addHotkey
[example]
def myHandler(event):
print "inside message"
Env.addHotkey(Key.F2,KeyModifier.SHIFT+KeyModifier.CTRL,myHandler)
wait(10)
--
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