View Single Post
Old 12-28-2012, 06:49 AM   #4
GrannyGrump
Persnickity Nitpicker
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 557
Karma: 2593116
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
@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.
GrannyGrump is offline   Reply With Quote