Question #215002 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/215002
Status: Open => Answered
RaiMan proposed the following answer:
--- The handlers need a parameter (even if not used):
def Rattack(event):
mouseDown(Button.RIGHT)
wait(3)
mouseUp(Button.RIGHT)
--- you can set the modifier parameter to 0
... which means: no modifier
Env.addHotkey(Key.NUM4, 0, Rattack)
--
You received this question notification because you are a member of
Sikuli Drivers, which 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