Shared Script Libraries

A shared script library enables one or more documents to share common functions and subroutines by storing them in an external file. This library can be particularly helpful if you are using long or complex scripts that are used in multiple documents or in multiple script events within a single document.

After you add a script library to the Script Editor, all scripts that are defined in your document have access to the library's functions, subroutines, and global declarations. The contents of a script library is merged into a script at run time.

Shared script libraries are saved as .btvbs files.

In This Section