sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16165
[Bug 513312] Re: Invalid key code when ":" included in a string with type()
** Tags added: fkt-type
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/513312
Title:
Invalid key code when ":" included in a string with type()
Status in Sikuli:
In Progress
Bug description:
Trying the following code:
type("cd C:\\temp\\\r");
The result is:
[sikuli] type: 'cd C:\temp\
' +0
[sikuli] [Error] source lineNo: 2
[sikuli] [Error] Traceback (innermost last):
File "C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\sikuli-tmp3784144668038766078.py", line 2, in ?
File "C:\Archivos de programa\Sikuli\sikuli-ide-full.jar\Lib/python/edu/mit/csail/uid/Sikuli.py", line 403, in type
at sun.awt.windows.WRobotPeer.keyPress(Native Method)
at java.awt.Robot.keyPress(Unknown Source)
at
edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:409)
at
edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:410)
at
edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:401)
at
edu.mit.csail.uid.SikuliScript.type_ch(SikuliScript.java:504)
at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:542)
at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:390)
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
I am using Windows XP (Spanish) and Sikuli latest version.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/513312/+subscriptions