Results 1 to 2 of 2
- 02-18-2009, 03:58 AM #1
Member
- Join Date
- Feb 2009
- Posts
- 1
- Rep Power
- 0
Help with Java Robot and Runtime Class
I want to know what list of codes do you use to press certain keys
example:
robot.keyPress(KeyEvent.VK_H);
robot.keyPress(KeyEvent.VK_I);
which press the h key and i key.
But what are the codes for the Microsoft, print screen, escape, home, ect. keys (those special keys).
Also how do you create an instance of the runtime class?
I tried:
Runtime Run = new Runtime();
But it didn't work.
- 02-18-2009, 06:33 AM #2
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
Similar Threads
-
Java Robot commands not working
By CoolLove in forum Java AppletsReplies: 2Last Post: 01-13-2009, 02:58 PM -
Newbie - Robot Class
By drasgear in forum New To JavaReplies: 2Last Post: 11-14-2008, 04:46 PM -
Robot Class
By Jessie Madman in forum New To JavaReplies: 3Last Post: 05-15-2008, 04:13 AM -
Example of RunTime class
By Java Tip in forum Java TipReplies: 0Last Post: 01-04-2008, 09:32 AM -
Robot Class
By jfredrickson in forum New To JavaReplies: 2Last Post: 07-11-2007, 09:00 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks