← Back to team overview

sikuli-driver team mailing list archive

[Bug 511740] Re: [request] type() should work with different keymap (e.g. dvorak)

 

Mac OS X v10.7.4
Sikuli X-1.0rc3 (r905)

Still problems with my keyboard mappings:

German keyboard: "-" becomes "ß"

Chinese keyboard: "你好“ throws even an exception:
[log] TYPE "你好"
[error] Abgebrochen
[error] Ein Fehler in Zeile 25
[error] Fehlermeldung:
Traceback (most recent call last):
 File "/var/folders/zw/y3s7246958s6_vvpdp50shsc0000gn/T/sikuli-tmp7966794094571103423.py", line 25, in 
 type("你好")
 at org.sikuli.script.Key.toJavaKeyCode(Key.java:284)
 at org.sikuli.script.DesktopRobot.typeChar(DesktopRobot.java:118)
 at org.sikuli.script.Region.type(Region.java:809)
 at org.sikuli.script.Region.type(Region.java:789)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException:
Cannot convert character �

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

Title:
  [request] type() should work with different keymap (e.g. dvorak)

Status in Sikuli:
  In Progress

Bug description:
  reported by gugod, Matthew Schinckel.

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