Brand new to AHK and scripting in general and attempting to make a simple F5 spam and after 5 minutes, left click in a specific spot and start over again.
I have everything working except the ControlClick, and after reviewing the documentation and examples I'm completely stumped. Any ideas?
Thanks
EDIT: The purpose is to be able to run the script with the application being in the background
Code: Select all
^j::
Loop
{
Loop, 60
{
ControlSend, , {F5}, ahk_exe ClickRaid.exe
Sleep, 5000
;MouseMove, 525, 527
}
SetControlDelay -1
ControlClick, x1352 y332, ClickRaid,, LEFT, 1, NA
}
Return