How to force a mouse click on certain screen coordinates?
| ShadowTek (23) | |||
| I am trying to find a way to automate the usage of strictly GUI applications that lack any command line options. If there is a way to effectively force mouse clicks on certain coordinates of the screen, then I can build a list of whatever coordinates reside within particular GUI buttons, and go from there. Is there a way to do something like this in C++? If not, what would you suggest as an alternative? Right now, I'm just trying to work with GUI applications for Win XP SP3. | |||
| Zaita (1450) | |||
| You can yes. You can set the mouse position. Then fire off a mouse click event. This is how automated testing software functions :) Look in the win32api for cursor and messaging :) | |||
| ShadowTek (23) | |||
| Ok, thanks. I haven't gotten into any of the GUI functions of C++, so I wasn't really sure where to start. | |||
| Zaita (1450) | |||
| No worries :) | |||
This topic is archived - New replies not allowed.
