sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17418
[Question #226482]: Problem when typing "." in a string
New question #226482 on Sikuli:
https://answers.launchpad.net/sikuli/+question/226482
Hey there again! I m having another problem when using the function "type". The problem looks as follow:
When I use for example type( psmrl, "google.fr") I get the following error: Invalid key code.
I m using a french keyboard and the log displays the following result.
Kindly,
##################################################
[log] TYPE "google.fr"
[error] Arrêté
[error] Une erreur est survenue à la ligne 4
[error] Message d'erreur : Traceback (most recent call last):
File "C:\Users\AUWIND~1\AppData\Local\Temp\sikuli-tmp6210964422598921071.py", line 4, in
type('c', "google.fr")
at sun.awt.windows.WRobotPeer.keyPress(Native Method)
at java.awt.Robot.keyPress(Unknown Source)
at org.sikuli.script.DesktopRobot.doType(DesktopRobot.java:111)
at org.sikuli.script.DesktopRobot.typeChar(DesktopRobot.java:118)
at org.sikuli.script.Region.type(Region.java:810)
at org.sikuli.script.Region.type(Region.java:798)
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 code
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.