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.
Learn how to create a new script library and then connect it to your document.
Learn how to manage the contents of your script libraries.
Learn how to refer to the functions, subroutines, and global declarations in a connected script library when you write custom scripts for your document.
Using Librarian With Shared Script Libraries
Learn how to use the Librarian companion application with shared script libraries.