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.
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
Object is a reference to the Application object. For more information, see Application Object (page Application Object).
InBatchMode is the command.
If not Application.InBatchMode Then
MsgBox "Please run a batch"