What i want to do with this script is that it will refresh my browser every 2 hours. then after refresh and game load (takes 1-2 minutes for loading), i want my mouse to click several buttons to put my game into AFK Mode. so i wrote this
Code: Select all
#Persistent
SetTimer, PressTheKey,7200000
Return
PressTheKey:
Send, {Browser_Refresh}
Send, {Enter}
SetMouseDelay, 120000
MouseClick, left, 446, 719
MouseClick, left, 921, 717
MouseClick, left, 900, 667
please help!!