Code: Select all
F1::
T := 1
start:
send e
send {Space}
sleep 500
if (T = 1)
goto start
else
return
F12::
T := 0
return
Code: Select all
F1::
T := 1
start:
send e
send {Space}
sleep 500
if (T = 1)
goto start
else
return
F12::
T := 0
return
Code: Select all
F1::SoundPlay, sound.wav
Code: Select all
Run, C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\windbg.exe
WinWait, ahk_exe C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\windbg.exe , , 30
if ErrorLevel
{
MsgBox, WinWait timed out.
return
}
else
WinRestore
return
Code: Select all
sendinput, {vk15}
Code: Select all
Sendinput, {RAlt}
Code: Select all
~MButton::
click
send ^v
return
Code: Select all
loop
{
if GetKeyState("w") or GetKeyState("a") or GetKeyState("s") or GetKeyState("d")
blockinput mousemove
else
blockinput mousemoveoff
}
return