sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48998
Re: [Question #675326]: When creating an Env.addHotkey, using an import function as the handler causes the hotkey to trigger as soon as you start the script.
Question #675326 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/675326
Status: Open => Answered
RaiMan proposed the following answer:
I am sorry, but I cannot reproduce this problem here (version 1.1.4) on
Mac.
... but I found a few other oddities with the revised Hotkey feature,
that I now have to track down and fix ;-)
BTW: as a best practice to be name-safe:
import testSub
...
Env.addHotkey('b',KeyModifier.ALT+KeyModifier.CTRL, testSub.a)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.