Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
enabled = 1
ComObjCreate("SAPI.SpVoice").Speak("anti-idle enabled")
settimer, anti-idle, 170000
anti-idle:
{
IfWinExist, Battlefield™ 1
{
WinGet, original, ID, A
WinActivate, Battlefield™ 1
SendInput, {1 DOWN}
Sleep 250
SendInput, {1 UP}
WinActivate, ahk_id %original%
}
}
F12::
{
if (enabled = 0)
{
enabled = 1
ComObjCreate("SAPI.SpVoice").Speak("anti-idle enabled")
SetTimer, anti-idle, on
}
else
{
enabled = 0
ComObjCreate("SAPI.SpVoice").Speak("anti-idle disabled")
SetTimer, anti-idle, off
}
}
}
Hmmm... I will try again. Not sure why I was kicked for being idle then...No, you do not. AHK is entirely client side.