WaitAgain |
Top Previous Next |
Valid for: SetStartup& SetRuntime
Syntax - SetStartup WaitAgain {"Yes" | "No"}
Description: This option causes EMUE to reset all of the SetStartup commands to their default settings after successful completion of a script file, restart the script, and wait for the next file defined in the SetStartup InputFile command. This sets the Wait Again checkbox on the Automation tab of the EMUE Tools - Current Settings - Option Settings window.
Note: EMUE sets this option to “No” if an error is encountered during the processing of the script. However, this functionality can be disabled with AllowCompletionOptionsOnError. If WaitAgain and AllowCompletionOptionsOnError are both set to "Yes," then EMUE will be allowed to wait again.
Note: To avoid processing the same file repeatedly, this command should be used in conjunction with either the SetStartup MoveInputFile command or the MoveFile command to move the input file out of the directory defined in the SetStartup InputFile command.
Sample: The following statement instructs EMUE, after successfully completing the script, to reset all options to their default values, restart the script and wait for the next file. SetStartup WaitAgain "Yes"
See Also:
|