← Back to team overview

sikuli-driver team mailing list archive

[Bug 815841] Re: Sikuli doesn't seems to manage underscore

 

*** This bug is a duplicate of bug 680186 ***
    https://bugs.launchpad.net/bugs/680186

Not a bug, it is a known feature:

type only supports the US-standard-qwerty-keyboard layout and even there
not all special characters.

see: faq 933


** This bug has been marked a duplicate of bug 680186
   [request] type() should support other keyboard layouts than US QWERTY

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/815841

Title:
  Sikuli doesn't seems to manage underscore

Status in Sikuli:
  New

Bug description:
  I have the following command in my sikuli script:
  type("test_1")
  Once I run the script, an error shows up:

  [sikuli] click on (808,509), MOD: 0
  [sikuli] double click on (614,331), MOD: 0
  [sikuli] type "test_1", mod: (0)
  [sikuli] Stopped
  [sikuli] An error occurs at line 7
  [sikuli] Error message:
  Traceback (most recent call last):
    File "C:\DOCUME~1\a0h02173\LOCALS~1\Temp\sikuli-tmp5987943712628670788.py", line 7, in <module>
      type("test_1")
    File "C:\Program Files (x86)\Sikuli\sikuli-script.jar\Lib\sikuli\Region.py", line 160, in type
  	at sun.awt.windows.WRobotPeer.keyPress(Native Method)

          at java.awt.Robot.keyPress(Unknown Source)

          at edu.mit.csail.uid.Region.doType(Region.java:666)

          at edu.mit.csail.uid.Region.type_ch(Region.java:751)

          at edu.mit.csail.uid.Region.type(Region.java:375)

          at
  org.python.proxies.sikuli.Region$Region$1.super__type(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 code

  I use sikuli 0.10.2 under windows XP 64 bits. I work in france.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/815841/+subscriptions


References