Controlling another window on the screen
Posted on 2006-05-30
Say I have Java program running (not my program nor do I have source for it), How can I interact with the window with my Java program?
What I am trying to do is to fill in information into another Java window when it opens (from a different program). So window X opens and then (this program) fills in the information into the field (lets call the field first name) and clicks send. (then waits for the X window to re-open) And it just keeps doing this... ( wait, fill, wait, fill.... )
Please include code (examples)