As per this previous link (How to send keyboard outputs) Java can simulate a key being pressed using the Robot class. However, how could a combination of key presses be simulated? If I wanted to send the combination “alt-123” would this be possible using Robot?
Share
The simple answer is yes. Basically, you need to wrap the
keyPress/Releaseof the Alt around the otherkeyPress/Releases