Scripts on class level
At class level, you can add class specific scripting for field extraction, field validation and verification methods, and scripting related to Validation and Verification forms, 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
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, as well as to Validation and Verification forms.
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, validation, and verification 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.