Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webpage responder
#4
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
Code:
Copy      Help
int w=win("- Google Chrome" "Chrome_WidgetWin_1")
rep
,Acc a.Find(w "LINK" "Quick Macros - *" "" 0x2001 1000000)
,a.DoDefaultAction
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     Help - how to add the trigger to the macro (Alt+Pause)
Code:
Copy      Help
EndThread "web_responder"
Note: run Chrome with command line --force-renderer-accessibility


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)