Back

Command ExitScript
Parameters None

Notes Use the ExitScript command for an easy exit where the final command is within nested loops.

[[Script]]
Commands to name windows App1 and App2
Loop
   SetFocus App1
   Loop 20
      Commands to copy from App1
   EndLoop
   SetFocus App2
   Loop 20
      Commands to paste to App2
      If NextPaste = "End"
         ExitScript
      EndIf
   EndLoop
EndLoop

 

Back