Help with ahk script pliz

Good afternoon everyone! help me make a script for these buttons 1,2,3,4,5,6,w,g,r,t,a,x,z,y,b,vk05,vk06
the script looks like this
#IfWinActive World of Warcraft
$2::
GetKeyState, state, 2, P
if state = D

Loop
{
Send {2}
Sleep, 70
return
}
#IfWinActive
thank you very much

Not to be rude, but asking about AHK scripts, wouldn’t that be best suited at their forums?
https://www.autohotkey.com/boards/viewforum.php?f=76

1 Like