I like to do a program which can control other program(window). I would like that my program automatically click button and get others states. But for now i am just asking how to access to this other program/process with java.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try java.awt.Robot
How to press keys
How to manipulate mouse
InputEvent.BUTTON1_MASK= left buttonInputEvent.BUTTON2_MASK= middle buttonInputEvent.BUTTON3_MASK= right buttonHere’s a good tutorial to start