Question #263007 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263007
Status: Open => Answered
RaiMan proposed the following answer:
-- detecting clicks is not possible with current Sikuli.
-- Also I tried this
since after the implementation of the hotkey: Env.add... the script directly
terminates and the handler (clickandhold) is no longer reachable.
... and I am not sure, wether Key.CAPS_LOCK, KeyModifier.SHIFT can be used as
hotkey at all.
to test it:
def clickAndHold(event):
print "hotkey was pressed"
exit()
Env.addHotkey(Key.CAPS_LOCK, KeyModifier.SHIFT, clickAndHold)
wait(10)
... and within 10 seconds after the IDE window vanishes, press the
hotkey combo to see what happens.
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