I need to do this for a little project of mine but I don't know how:
1. Bring another program that is already running into focus. (I didn't make this second program).
2. Find the first textbox on this other program and type some text into it.
3. Have my program simulate a user typing.
Is this possible and where do I start?
So for example. Assume that the other program is notepad, and that is is already running. I need my application to bring notepad into focus, type some text, and then press ENTER. No, the application that I want to do this for isn't notepad but I thought you'd understand what I wanted better if I gave an example.
1. Bring another program that is already running into focus. (I didn't make this second program).
2. Find the first textbox on this other program and type some text into it.
3. Have my program simulate a user typing.
Is this possible and where do I start?
So for example. Assume that the other program is notepad, and that is is already running. I need my application to bring notepad into focus, type some text, and then press ENTER. No, the application that I want to do this for isn't notepad but I thought you'd understand what I wanted better if I gave an example.