Type Library References
Many application programs expose their services with objects. These objects may be used in your scripts, just as the Grapher automation objects are used. Before you can use another application's objects, you must add a reference the application's type library. A type library is a file that describes the objects, properties, and methods provided by an application. The Grapher type library is automatically referenced in Scripter.
To add a type library reference to the current script module in Scripter:
- Select the Edit | References command to open the References dialog.
- Click on the check box next to the type library whose objects you want to use in your script.
- Click on the up and down arrows to adjust the relative priority of the checked references. If two libraries describe items with the same name, the item described in the higher-listed library is used by your script.
- Click the OK button when finished adding type library references to your script.