Adds credentials to VectorScript plug-ins. "pluginsPath" expects a full path to a file or the path to a folder containing plug-ins. "credentialFilePath" expects a full path to a .vst credential file. Empty would report the credentials of the plugins. Returns true if no errors and false if any errors were encountered. Actions are logged in "AddCredentialsLog.txt" in the user Plug-ins folder.
FUNCTION AddCredentials(
pluginsPath : STRING;
credentialFilePath : STRING) : BOOLEAN;def vs.AddCredentials(pluginsPath, credentialFilePath):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| pluginsPath | STRING | Full path to a folder or to a specific plugin. When folder, all plugins will be processed |
| credentialFilePath | STRING | Full path to the credentials file. When empty, it will report the status of the plugins |
This function is provided by an external plug-in that is not provided by the normal distribution of Vectorworks.
You need to install the Script Batch Process feature from the Vectorworks Developer section of Help → Install Partner Products... menu command.
More info, see here Prepare Release Plugins
Additionally, the plug-in is called ‘BatchEncryption’ and can be found inside ‘ToolsWin’ or ‘ToolsMac’ folders of the corresponding Vectorworks SDKs.
The Vectorworks SDK can be downloaded here: http://www.vectorworks.net/support/custom/sdk/sdkdown.php
Availability: from Vectorworks 2026