Scripts on folder level

At folder level, you can provide scripting for folder field extraction, folder field validation and verification methods, as well as all scripting related to validation and verification layout data, by following these steps:

  1. Select the desired 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 desired folder level if it is not already open.

    When the appropriate tab is selected, the window caption is set to <FolderName> - Script Code.

  4. Select the desired object in the Object list.

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

    At the folder level, the Proc list provides all events that are related to the extraction, validation, and verification process of this folder and its fields.

  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.