@cybmole, if your on-screen setup is ALWAYS EXACTLY IDENTICAL, the easiest way is to use the autohotkey macro recorder to record your mouse-clicks. you can record a set of clicks, assign a hotkey to run that set of clicks on demand. It's not the most desirable way though, because if you move your screen elements the smallest bit, the cursor no longer clicks the hot-spot.
Very slightly more difficult is to script it to send key combinations, which are actually your assigned keyboard shortcuts (e.g. Ctrl C, etc), and these can include sending "Y" or "N" as a response to dialogs. The language and syntax for the "Basic" version 1.0.48 is pretty straight-forward, and the forum is quite helpful.
Then when you get hooked on the wonderfulness of AHK, you can design scripts to interact with specific (named) dialogs and windows.
Are you intrigued? I'd be glad to help if you decide to go with AHK, although I am off-line every weekend.
|