sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49342
[Question #676244]: object 'Env' has no attribute 'addHotKey'
New question #676244 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676244
Hi,
just download the latest version of SikulixIDE-1.1.4-SNAPSHOT
after running the IDE, creating a script with the following line:
Env.addHotKey(Key.F1, KeyModifier.CTRL, runHotKey)
I get this error:
object 'Env' has no attribute 'addHotKey'
The Env.py file has the following class within it
class Env(JEnv):
@classmethod
def addHotkey(cls, key, modifiers, handler):
the support documentation references the syntax :
Env.addHotkey(key, modifiers, handler)
Please let me know where I have gone astray.
Stingfuse
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.