I now know how to interact with external applications like pressing buttons changing textboxs etc.
But how can i change label captions because labels doesn't have hwnd
Thanks
Printable View
I now know how to interact with external applications like pressing buttons changing textboxs etc.
But how can i change label captions because labels doesn't have hwnd
Thanks
You can't do it.
When you are doing things like pressing buttons and filling in text boxes you are basically taking control of the keyboard and mouse and doing it programatically.
Understand so far?
Well now you want to actually change something that is hard coded into the application itself... something that even as a user of the application you are unable to do.
So the bottom line is you cannot do it... if you could then people could be changing everyone elses applications all over the place and that just wouldn't be right ;)
You can't do it.
When you are doing things like pressing buttons and filling in text boxes you are basically taking control of the keyboard and mouse and doing it programatically.
Understand so far?
Well now you want to actually change something that is hard coded into the application itself... something that even as a user of the application you are unable to do.
So the bottom line is you cannot do it... if you could then people could be changing everyone elses applications all over the place and that just wouldn't be right ;)