Script Locator

You can define a custom locator using the script locator by means of the Sax Basic script engine. The script locator exits to a script event that either implements the location method in the VBA-compatible script language or calls a custom locator DLL.

The event is part of the class script sheet in that the locator is defined and follows the naming convention ScriptLocatorName_LocateAlternatives . This event is only available in the class script where the locator is defined.

The BeforeLocate and AfterLocate events are available for all locators including the script locator. These events are supporting inheritance; they are also fired for derived classes having a derived definition of the locator. They can be used either to prepare the document in a specific way for the executed locator or influence the results of a locator after its execution.


A visual representation of the Script Locator.