sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04438
[Question #167398]: keyDown(Key.WIN)
New question #167398 on Sikuli:
https://answers.launchpad.net/sikuli/+question/167398
keyDown(Key.WIN) does not work and i can not identifie any mistake. when i run keyDown(Key.WIN) I receive this:
[error] Stopped [error] An error occurs at line 1 [error] Error message: Traceback (most recent call last): File "C:\Users\Pablo1\AppData\Local\Temp\sikuli-tmp8949974122222053401.py", line 1, in keyDown(Key.WIN) File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Region.py", line 215, in keyDown at sun.awt.windows.WRobotPeer.keyPress(Native Method) at java.awt.Robot.keyPress(Unknown Source) at org.sikuli.script.Region.doType(Region.java:943) at org.sikuli.script.Region.type_ch(Region.java:1090) at org.sikuli.script.Region.keyDown(Region.java:641) at org.python.proxies.sikuli.Region$Region$1.super__keyDown(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid key cod
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.