The script works fine when i launch it in desktop, but in-game nothing. It seemed like an administrator issue. So i tried launching steam in administrator, but game still prevents the AHK.
Tried launching both game and AHK in administrator mode. Problem still persists?
I think this might have happened after a windows update? Just odd that it suddenly stops working.
Code: Select all
toggle = 0
#MaxThreadsPerHoyKey 2
F1::
Toggle := !Toggle
While Toggle{
Click
Send a
sleep 500
}
return