[LoopEnd]


  • This command indicates the end of a loop in an Auto Control script. 
  • The terminal program will only repeat the loop if the [LoopStart] command was executed at some point before this command. 
    • If it wasn't, then the script will continue to the next command. 
    • If the [LoopStart] command had previously been executed, the script will loop back to that point in the script.


  • To prevent the possibility of a forever loop, the Terminal program responds to the ESC key to terminate any repeating of the loop. 
  • The ESC key does not terminate the AutoScript, it just does not loop back when it executes the next [LoopEnd] command. 
    • Pressing the ESC key in the User Input or Variable Input dialog also will prevent the next [LoopEnd] command from repeating the loop.


V2.49+

  • [LoopEnd] will now check to see if the ESC key has been pressed. If neither [ESCStop] or [ESCExit] have been executed yet then [LoopEnd] will act like [ESCStop].