I'm using Windows XP. I have an application that I need to start that does not have a COM interface. After an initial setup, the application will occasionally need some mouse clicks (always the same spot relative to the application window). What I need is to automatically send a mouse click to that spot. I don't care if it does it repeatedly in a loop as clicking the area does nothing until the app enables it.
If I could get some small sample code on
1) Getting a handle to the app (I will have to find the correct app based off of title bar information)
2) How to send a mouse click to a particular spot relative to where the winapp is positioned