Description
Returns True if the script is run in Batch mode. Returns False if the script is run in Interactive Processing or Preview modes. When applied to Post Extraction or Pre Verification, as opposed to Post Verification, this always returns False.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify, ZoneLink
Syntax
object.InBatchMode
Parameters
Object is a reference to the Application object. For more information, see Application Object (page Application Object).
InBatchMode is the command.
Example
If not Application.InBatchMode Then
MsgBox "Please run a batch"
Exit Sub
End if