B
Bill Brehm
Can someone tell my if this is possible and how to go about it?
I want to write an application that can press buttons and read and write
edit controls and navigate through menus, etc. on another application. I
have no source code for the other application, so cannot modify it.
Basically, I have to add some functionality to what that application does,
so I thought of writing an additional application which basically can remote
control the other one by manipulating its controls just like a user would.
I see spy++ can give me handle information about controls, but I doubt they
would be the same everytime the other app and my app are run. I found
ResourceHacker that lets me know get the ID numbers of dialogs and controls.
I would even be willing to make the mouse move to the correct X, Y
coordinates of the other app. I could create a list of coordinates of the
things important to me for this purpose. If the other app changes because of
an upgrade, I'm willing to change mine. But if the other app doesn't change,
I need whatever I do to work regardless of whether the other app is minimize
or where is it located of if it has focus or not, etc.
If there is any example code to help me understand or implement more quickly
it would be appreciated.
Thanks...
I want to write an application that can press buttons and read and write
edit controls and navigate through menus, etc. on another application. I
have no source code for the other application, so cannot modify it.
Basically, I have to add some functionality to what that application does,
so I thought of writing an additional application which basically can remote
control the other one by manipulating its controls just like a user would.
I see spy++ can give me handle information about controls, but I doubt they
would be the same everytime the other app and my app are run. I found
ResourceHacker that lets me know get the ID numbers of dialogs and controls.
I would even be willing to make the mouse move to the correct X, Y
coordinates of the other app. I could create a list of coordinates of the
things important to me for this purpose. If the other app changes because of
an upgrade, I'm willing to change mine. But if the other app doesn't change,
I need whatever I do to work regardless of whether the other app is minimize
or where is it located of if it has focus or not, etc.
If there is any example code to help me understand or implement more quickly
it would be appreciated.
Thanks...