This is due to the offline voucher, and the 12 gingerbreads recievable daily
(utilising ahk v1 - v2 had errors)
code:
; -------------------------
; Set mouse to use screen coordinates
CoordMode, Mouse, Screen
; -------------------------
; Press F9 to start the automation loop
; -------------------------
F9::
Loop
{
; --- Activate program window ---
ToolTip, Activating window...
WinActivate, YourProgramWindowTitle
Sleep, 1000 ; wait 1 second for window to be active
; --- Move to Join button and click twice slowly ---
ToolTip, Clicking Join (1st click)...
MouseMove, 575, 907, 20 ; 20 = move speed
Sleep, 800 ; wait 0.8 seconds for UI to be ready
Click
ToolTip, Clicking Join (2nd click)...
Sleep, 500
Click
; --- Wait for program to load/complete ---
ToolTip, Waiting for program...
Sleep, 20000 ; 20 seconds, adjust if needed
; --- Move to X / exit button and click ---
ToolTip, Clicking X...
MouseMove, 2399, 0, 20 ; move to X button
Sleep, 200
Click
; --- Wait 2 hours before repeating ---
ToolTip, Waiting 2 hours before loop restart...
Sleep, 7200000 ; 2 hours in milliseconds
}
return
; -------------------------
; ESC stops the script completely
; -------------------------
Esc::ExitApp