I have this set up but for the MMO I'm playing, I also do ctrl+1, ctrl +2, ctrl +3, and alt+1, alt+2, alt+3. Can anyone lend some knowledge, I'm new to this. To clarify, I also want it to be able to spam the 123 keys with the alt and ctrl activated but I don't want it to get stuck.
Code: Select all
*1::
Loop
{
GetKeyState, state, 1, p
if state = U
break
; Otherwise:
Send, {1}
Sleep, 30
}
*2::
Loop
{
GetKeyState, state, 2, p
if state = U
break
; Otherwise:
Send, {2}
Sleep, 30
}
*3::
Loop
{
GetKeyState, state, 3, p
if state = U
break
; Otherwise:
Send, {3}
Sleep, 30
}