Scripts on Class Level
At class level, you can add class specific scripting for field extraction and field validation by following these steps:
- Select the desired class in the Project Tree.
-
Right-click the selected item, and click
Show Script, to open the
WinWrap Basic Script Editor. Alternatively, click
in the Details window caption.
The Script Code window is displayed.
-
On the left-hand side of the window, select the newly created tab
for the desired class level if it is not already open.
When the appropriate tab is selected, the window caption is set to <ClassName> - Script Code.
To implement a Script Locator, field extraction, or field validation methods that are executed for classes and fields, add an extraction script for the class. -
Select the desired object in the Object list.
At the class level, the Object list contains all objects that are related to the document and its fields.
-
Select the appropriate procedure for the currently-selected object
in the Proc list.
At the class level, the Proc list provides all events that are related to the extraction process of a document and its fields.
- In the edit area of the Script window, insert the script code. Before you start scripting, make sure that you selected the correct tab.