Application

The application (CscScriptApplication) object is the object in script to that all application related events and properties are attached. It is placed in the project script sheet and can be addressed by Application.

The Application_InitializeScript and the Application_DeinitializeScript event are bracketing the events that are controlling the processing. These events are related to the load of a new Project object and the initialization of the script engine. Typically this event is designed for the initialization of variables with a global scope.

The deinitialization of the script engine gets announced by the Application_DeinitializeScript event.

The event Application_InitializeBatch is announcing the processing of new content.