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:

  1. Select the Edit | References command to open the References dialog.
  2. Click on the check box next to the type library whose objects you want to use in your script.
  3. 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.
  4. Click the OK button when finished adding type library references to your script.

See Also

Scripter BASIC Language

Object Hierarchy

Object List