sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42369
[Question #630986]: Query if a key or key-combo is pressed
New question #630986 on Sikuli:
https://answers.launchpad.net/sikuli/+question/630986
Is there a way to query what keys are pressed at the moment?
I know there is Env.isLockOn(Key.NUM_LOCK), but is there something similar I could use so Sikuli can detect ALT+SHIFT+C in a running terminal script?
Something like this?
if Env.isDown(Key.ALT, Key.SHIFT+ "c"):
break
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.