Scripts on project folder level
At the project folder level, you need to define field formatting procedures, and a general extraction script can be used for field extraction and field validation methods. If foldering is enabled in the Project Settings, you can use batch related events and batch related operations in your script. You can add a script on project folder level by following these steps:
- Select the project folder 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 tab for the project folder level if it is not already open.
When the appropriate tab is selected, the window caption displays Project Folder - Script Code.
Select the desired object in the
At the project folder level, the Object list contains all objects that are related to the batch handling when folders are enabled.
Select the appropriate procedure for the currently-selected object in the
At the project folder level, the Proc list provides all events that are used for creating the folder structure, and events that are related to the extraction, validation, and verification process of this project folder and its fields. In addition, it provides access to the validation and verification layout data for customization purposes.
- In the edit area of the Script window, insert the script code. Before you start scripting, make sure that you selected the correct tab.