Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

press enter in robot java

 public static void pressEnterKey() {
		        Robot robot1 = null;
		        try {
		            robot1 = new Robot();
		        } catch (AWTException e) {
		            // TODO Auto-generated catch block
		            e.printStackTrace();
		        }
		        robot1.keyPress(KeyEvent.VK_ENTER);
		        robot1.keyRelease(KeyEvent.VK_ENTER);
		    }
 
PREVIOUS NEXT
Tagged: #press #enter #robot #java
ADD COMMENT
Topic
Name
8+4 =