When a window pops up and there is a form that wants the user to input text, like in a wizard, is it possible to have a program paste the text in for it?
Printable View
When a window pops up and there is a form that wants the user to input text, like in a wizard, is it possible to have a program paste the text in for it?
In a word - Yes...
Use Spy++ to find the windows class of the popup....then in your program use that class with FindWindow() to get a handle to the window....
Then use FindWindowEx to locate the edit control....(Spy++ come in good here)
The send the edit control a WM_SETTEXT message with LParam as the string.....
That should do it
Thanx o knowledgable one!:D