Autohotkey (AHK) is a Windows programming macro application to click the mouse or repeat keystrokes to your heart's content. I just wrote this 6-line program to click "GO LIVE" button in Youtube, launched by Windows (Task) Scheduler at a particular time, because we kept forgetting to click the "GO LIVE" to begin our livestreams. It is actually setup "in case you forgot" as "GO LIVE" becomes "END LIVESTREAM".
The mouse coordinates are particular to the computer it was intended for and may not match your computer.
(Find mouse coordinates with this script: https://www.bachcottage.com/2021/12/autohotkey-script-to-find-mouse.html )
#WinActivateForce
WinActivate, Live streaming - YouTube Studio,
sleep 300
WinMaximize, Live streaming - YouTube Studio,
sleep 6000
mouseclick Left,1803,96
sleep 3000
mouseclick Left,1600,96
AutoHotKey |
No comments:
Post a Comment