Is it possible to jump back into a case where you left off? I'll post some demo code with what i mean and i keep having ideas on how to do it but so far they have failed, even re-wrote the damn thing which took me a good 30mins and then... it failed! Anyway here is an example i just wrote because i dont know if im doing it right or if there is a better way, plus its getting late.
Sorry its not indented or anything, the autoit code button always fails to work properly. -.-
Sorry its not indented or anything, the autoit code button always fails to work properly. -.-
[ autoit ]
Global $action = 1 Global $action1 = 3 Global $action2 = 2 Func Test() Do Select Case $action = 1 Select Case $action1 = 1 Check() ;code for action1 Case $action1 = 2 Check() ;code for action2 Case $action1 = 3 Check() ;code for action3 EndSelect Case $action = 2 Select Case $action2 = 1 Check() ;code for action1 Case $action2 = 2 Check() ;code for action2 Case $action2 = 3 Check() ;code for action3 EndSelect EndSelect Until $action > 4 Exit EndFunc Func Check() ;imageseach code here if $image = 1 then ;image exsists it shouldnt so re-run code Check() ElseIf $image = 0 Then ;image does not exsist this is good continue ;where $action1,$action2 or $action3 left off EndIf EndFunc