Re: Handling "Press any key to continue..."?



I thought I was on to something...

java.awt.Robot r = new java.awt.Robot();
r.keyPress(71);
Thread.sleep(1000);
r.keyRelease(71);

But it doesn't work, because there is no console displayed on screen.

.