01-18-2014, 05:52 AM
Example. Repeatedly waits for "Quick Macros" link in Chrome, and clicks it. When you navigate Chrome back, clicks again, and so on.
Function web_responder
To end a function thread with a hotkey, create another function that have the hotkey as its trigger, and ends the first function's thread.
Function end_web_responder
Trigger AG
(Alt+Pause)
Note: run Chrome with command line --force-renderer-accessibility
Function web_responder
int w=win("- Google Chrome" "Chrome_WidgetWin_1")
rep
,Acc a.Find(w "LINK" "Quick Macros - *" "" 0x2001 1000000)
,a.DoDefaultAction
Function end_web_responder
Trigger AG

Note: run Chrome with command line --force-renderer-accessibility