Script logic

The project structure is reflected by a scripting hierarchy.

The following example displays a project structure its corresponding script sheets. The foldering related script sheets are only available if folders are enabled:


An image that shows the available script sheets

The classification events are found on the Project Class script sheet.

The extraction events are available on each class level and most events support inheritance. The class-related events that are attached to the Document object from the Object combobox are executed from the Project Class down to the calling class. The field events are executed from the class where the field is defined, down to the calling class. The calling class is the document classification result.

Refer to the extraction events in a class hierarchy that explains the chronological events for a sample project structure. The script events folder logic is different to class logic, but similar to the extraction events in a folder hierarchy.

Generally, you can add all events that are mentioned in this documentation by selecting the required object from the Object combobox and the required event method from the Proc combobox in the script sheet. The following links provide an overview where these objects are available. You have to navigate to the script sheet where the object is declared that provides the needed event method.

If the object is placed on the project script you can directly open the requested script via a shortcut menu from the project node. If it is placed on a class script use the shortcut menu of the requested class. The same mechanism works for the folders.