Softimage SDK Programmer's Guide > Script Development > Issues in Batch Scripting >

# How to Check in Which Mode (Batch or Interactive) Softimage is Running

You can use the Interactive property on the Application object to find out whether Softimage is running in interactive mode (returns True) or in batch mode (returns False):

    ' Using Application.Interactive is the same as Application.Interactive = True
    If Application.Interactive Then
    	Application.LogMessage "The application is running in interactive mode."
    Else
    	Application.LogMessage "The application is running in batch mode."
    End If