Quote:
That's a shame... I didn't notice that :/ Anyway if you're right, the old system of loop breaking was simple and awesome... And now I have problem with it and no one wants (or can) to help.
The only way I found to escape in a loop with a keypress is get the key state and parse it with an if like:
Code:
loop
{
IfWinExist Untitled - Notepad
WinActivate
random, sendnum, 0, 1500
send {backspace 4}
Send %sendnum%
sleep 10
GetKeyState, state, F2, T ; get the F2 state and put it in the var
if state = D ; check if it's Down
break ; if so break no else needed, it loops
}
I'm all new to this program, so it's crappy written no doubt. But I hope that's an answer.