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:

  1. Select the project folder in the Project Tree.
  2. Right-click the selected item, and click Show Script, to open the WinWrap Basic Script Editor. Alternatively, click Script Icon in the Details window caption.

    The Script Code window is displayed.

  3. 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.

  4. Select the desired object in the Object list.

    At the project folder level, the Object list contains all objects that are related to the batch handling when folders are enabled.

  5. Select the appropriate procedure for the currently-selected object in the Proc list.

    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.

  6. In the edit area of the Script window, insert the script code. Before you start scripting, make sure that you selected the correct tab.