РЕШЕНО
t::
loop
{
if (a = 1){
a := 0
break
}
a := 0
while (a = 0) {
if (!GetKeyState("Q", "P") = 0 | !GetKeyState("E", "P") = 0 | !GetKeyState("R", "P") = 0 | !GetKeyState("T", "P") = 0 | !GetKeyState("W", "P") = 0 | !GetKeyState("Y", "P") = 0 | !GetKeyState("U", "P") = 0 | !GetKeyState("I", "P") = 0 | !GetKeyState("O", "P") = 0 | !GetKeyState("P", "P") = 0 | !GetKeyState("[", "P") = 0 | !GetKeyState("]", "P") = 0 | !GetKeyState("A", "P") = 0 | !GetKeyState("S", "P") = 0 | !GetKeyState("D", "P") = 0 | !GetKeyState("F", "P") = 0 | !GetKeyState("G", "P") = 0 | !GetKeyState("H", "P") = 0 | !GetKeyState("J", "P") = 0 | !GetKeyState("K", "P") = 0 | !GetKeyState("L", "P") = 0 | !GetKeyState(";", "P") = 0 | !GetKeyState("'", "P") = 0 | !GetKeyState("Z", "P") = 0 | !GetKeyState("X", "P") = 0 | !GetKeyState("C", "P") = 0 | !GetKeyState("V", "P") = 0 | !GetKeyState("B", "P") = 0 | !GetKeyState("N", "P") = 0 | !GetKeyState("M", "P") = 0 | !GetKeyState("<", "P") = 0 | !GetKeyState(">", "P") = 0 | !GetKeyState("/", "P") = 0 ) {
Send, v
sleep, 100
}
if (!GetKeyState("Enter", "P") = 0 | !GetKeyState("Esc", "P") = 0){
a := 1
}
}
}
Как я понимаю, все можно было сделать гораздо проще.