Reputation: 3628
It seems the robot.pressKey(KeyEvent.VK_A) could only type 'A'. How can I type the lower letter 'a' then?
Upvotes: 0
Views: 2553
Reputation: 7507
robot.pressKey(KeyEvent.VK_A)
press the keyboard key A which is a lower 'a' without pressing Shift.
Upvotes: 2
Reputation: 14651
The question section will help you in this: How to make the Java.awt.Robot type unicode characters? (Is it possible?)
(if you're satisfied with ascii chars)
Upvotes: 1