nikgoodley-ibboost / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

Sikuli java api does not support non english keyboard layout #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
        <groupId>org.sikuli</groupId>
        <artifactId>sikuli-api</artifactId>
        <version>1.0.2</version>

Running on Windows 7 64 bit.

I'm using an azerty layout (standard in Belgium):

new DesktopKeyboard().type("123");
it enters the following: &é"

These symbols are on the same keys as 123, but are normally activated by 
pressing SHIFT.

When I switch my keyboard layout in windows to English US everything works fine.

Philippe

Original issue reported on code.google.com by philippe...@gmail.com on 12 Apr 2013 at 11:47

GoogleCodeExporter commented 9 years ago
This makes it sound to me like it might be a Java problem (Sikuli uses the AWT 
Robot to perform its keyboard operations): 
http://stackoverflow.com/questions/14034069/java-robot-check-symbol-key

Original comment by nathan...@waisbrot.net on 12 Apr 2013 at 4:13

GoogleCodeExporter commented 9 years ago
You may try to use paste("123")

Original comment by doubles...@gmail.com on 13 Jun 2013 at 9:48

GoogleCodeExporter commented 9 years ago
paste("whatever") works fine

Original comment by olaf.witkowski@gmail.com on 5 Feb 2014 at 10:23