ExitProc

(This function has been made obsolete by functions contained in the AutoMate™ System Object . It is provided only for compatibility with previous versions of AutoMate™. Developers should use CurrentTask.Active = 0 upon exiting the script the task will immediately stop executing.)

Procedure : ExitProc

Syntax:

ExitProc

Example:


If not FileExists then ExitProc


This will exit the current AutoMate™ procedure.

Notes: ExitProc completely exits the current running task. It is the same as selecting Task->End Task form the main menu.

Related Topics:

Other Scripting Extensions

Scripting In AutoMate™

Run a BASIC Script Action