Vicon Shogun banner

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

NameTypeRequiredComments
ScriptPathsstring arrayyesString 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.7/MyLiveScripts/"; $scriptPaths[1] = "C:/Program Files/Vicon/ShogunPost1.7/MyLabeling/"; $scriptPaths[2] = "C:/Program Files/Vicon/ShogunPost1.7/MyEditingScripts/"; $scriptPaths[3] = "C:/Program Files/Vicon/ShogunPost1.7/MySolvingScripts/";
setScriptPaths $scriptPaths;

Additional information

Related commands