Sergio
Joined: 16 Mar 2008 Posts: 93 Location: Brooklyn
|
Posted: Thu Oct 01, 2009 4:36 pm Post subject: Pathetic basic loop question... |
|
|
This should be easy, but I've got a brain fart moment. I'm running a hotkey which has a loop and that loop has conditions. If the condition is not met, I want it to execute a series of commands and then I want it to begin a New loop. That is, if it was on loop 8 of 20 it should begin as 9 of 20. Ideas?
| Code: | Loop 20{
Send, ABCD
If (Color = "red")
{
MsgBox, Great
}
else {
; Here, I want to end the current loop and have it begin a NEW loop
}
Send, This string would not be sent if the condition is not met
} |
_________________
 |
|