Wednesday, April 30, 2014

Type colon my keyboard?


I've tried making my robot print out colons but I just can't seem to.


I tried doing



Java Code:



robot.keyPress(KeyEvent.VK_COLON);

and

Java Code:



robot.keyPress(KeyEvent.VK_SHIFT);
robot.keyPress(KeyEvent.VK_SEMICOLON);

and neither seem to work, in fact I can't seem to get any symbols typed out (I don't want to copy to clipboard and paste out) (yes, I do keyRelease as well -> I've tried a bunch of stuff)

No comments:

Post a Comment