/
setScriptPaths
setScriptPaths
Description
Sets the list of script directories where Shogun Post will look for scripts and pipelines that can be executed.
The script directories are reparsed immediately. This means that if your script calls another script that isn't under any of the new directories, your script will fail after executing this command.
Functional area
System
Command syntax
Syntax
setScriptPaths ScriptPaths |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
ScriptPaths | string array | yes | String array of the new script directories. |
Flags
None
Return value
void
Examples
// Set the script directories string $scriptPaths\[4\]; $scriptPaths[0] = "C:/Program Files/Vicon/ShogunPost1.8/MyLiveScripts/"; $scriptPaths[1] = "C:/Program Files/Vicon/ShogunPost1.8/MyLabeling/"; $scriptPaths[2] = "C:/Program Files/Vicon/ShogunPost1.8/MyEditingScripts/"; $scriptPaths[3] = "C:/Program Files/Vicon/ShogunPost1.8/MySolvingScripts/"; setScriptPaths $scriptPaths;
Additional information
Related commands
, multiple selections available,
Related content
addScriptPath
addScriptPath
More like this
deleteScriptPath
deleteScriptPath
More like this
getScriptPaths
getScriptPaths
More like this
clearScriptPaths
clearScriptPaths
More like this
Configure Shogun Post to locate HSL scripts
Configure Shogun Post to locate HSL scripts
More like this
Configure Shogun Post to locate HSL scripts
Configure Shogun Post to locate HSL scripts
More like this