Project

The Project (CscProject) object contains the complete definition of the processing workflow. During a running script this object can be accessed by Project. and the corresponding property containing the desired information. A list of a accessible functions and properties that are supported during scripting you find in the API reference.

The Project object can be used to control the used language for project related definitions. By default the project is following the UI language the application is running in, if the corresponding project language is available. In the case that the UI language is not available (language pack is missing for that specific language), a different project language can be loaded by setting Project.ActiveLanguage to that language identifier in the Application_InitializeScipt event.

Private Sub Application_InitializeScript()
   Project.ActiveLanguage = "af" ' Afrikaans
End Sub

Affected by this are validation form and pane definition, display names for fields and folder fields, error messages of specific validation methods, document review methods. Script-based objects like formatteres, validation methods, locators, document review methods can be localized by the new Project.Resources object.