Open topic with navigation
You can create libraries of VBScripts that the Script Editor can reference.
To create a new script library using the Script Editor
-
From BarTender's Edit menu, select Scripts to open the Script Editor.
-
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.
-
Enter a name for the script library.
-
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.
To create a new script library outside of the Script Editor
-
Write some VBScript into a text document.
-
From the text editor's File menu, select Save As.
-
In the Save as type dropdown list, select All Files.
-
Enter the desired file name, and add the extension .btvbs.
-
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.