Insert the script function

Use the procedure in this topic to insert a script function.

The results from locators that are used as input by a Script Locator must be defined in the Project Tree hierarchy before the Script Locator. This is because the locators are processed in the order they appear in the Project Tree, and it is necessary for the locators used as input to have results before the Script Locator is executed.

Procedure

  1. Open the locator properties.
  2. Select the Show Script button.

    The Script Code window loads the extraction script for the selected class.

  3. In the Object list, select the name of the Script Locator.
  4. In the Proc list, select LocateAlternatives.

    The empty script function is inserted.

  5. Modify the script function as necessary.
  6. On the File menu, select Close Window to save your script changes and close the window.
  7. Optional. Select Close to close the locator properties window.
  8. Save the changes to your project.