Scripting logic

The project structure is reflected in the scripting hierarchy.

In the following overview a project structure is shown and its reflection in the 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 level of the classes and most of them 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 classification result of the document.

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 than it is for classes, similar to the extraction events in a folder hierarchy.

Generally, all events that are mentioned in this documentation can be added easily by selecting the required object from the Object combobox and the required event method from the Proc combobox in the script sheet the object is available. The following links provide an overview where which 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 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.