Shared Script Libraries

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

Once you have added a script library to the Script Editor, all scripts defined in your document will 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