Creating Script Libraries

You can create libraries of VBScripts that the Script Editor can reference.

ClosedTo create a new script library using the Script Editor

  1. From BarTender's Edit menu, select Scripts to open the Script Editor.

  2. From the Script Editor's File menu, select Add New Library to open the New Script Library dialog. Alternatively, click the Script Libraries node in the Script pane, and click the Add New Script Library link in the Editor pane.

  3. Enter a name for the script library.

  4. Click OK to close the dialog.

The new library will appear at the top of the Script pane, under Script Libraries. It is saved as a .btvbs file in the C:\ProgramData\Seagull\Scripts directory of your computer.

ClosedTo create a new script library outside of the Script Editor

  1. Write some VBScript into a text document.

  2. From the text editor's File menu, select Save As.

  3. In the Save as type dropdown list, select All Files.

  4. Enter the desired file name, and add the extension .btvbs.

  5. Click Save.

You can add the new script library file to the Script Editor by selecting Add Existing Library from the Script Editor's File menu. If you are using Librarian to manage your documents, you can add the document to Librarian and access it from that location. For more information, refer to Librarian Integration with Shared Script Libraries.