nikgoodley-ibboost / sikuli-api

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

I want to asking for Keyboard class #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How to type secial key like 

type("x", KEY_CTRL)

in Sikuli IDE?

Original issue reported on code.google.com by mail2tu...@gmail.com on 7 Apr 2013 at 3:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I got the anwser from 
http://stackoverflow.com/questions/15870829/how-to-type-special-key-using-sikuli
-java-standalone-jar  

DesktopKeyboard keyboard = new DesktopKeyboard();
keyboard.keyDown(KeyEvent.VK_CONTROL);
keyboard.type("x");
keyboard.keyUp(KeyEvent.VK_CONTROL);

Original comment by mail2tu...@gmail.com on 8 Apr 2013 at 9:12

GoogleCodeExporter commented 9 years ago

Original comment by doubles...@gmail.com on 11 Jun 2013 at 4:16