Insert the Script Function
The name of the script function is <Script Locator Name>_LocateAlternatives. The corresponding script event is fired at the point when that Script Locator runs.
The order of locators A, B, C and D is defined in the Project Tree. If locator C is a Script Locator, it can only retrieve the results from locators A and B, since locator D has not yet run.
You can insert a script function by following these steps:
- Open the locator properties.
-
Click the
Show Script button.
The Script Code window loads the extraction script for the selected class.
- In the Object list, select the name of the Script Locator.
-
In the
Proc list, select
LocateAlternatives.
The empty script function is inserted.
- Modify the script function as necessary.
- From the File menu, select Close Window to save your script changes and close the window.
- Optionally, click Close to close the locator properties window.
- Save the changes to your project.