This information is for Vicon Shogun 1.7. For up-to-date help, see the latest Shogun documentation.

Vicon Shogun banner

Description

Adds a directory to the list of "script directories" that is searched when Shogun builds its internal list of script and pipelines.

By default, this command does not cause the internal list to get rebuilt. To force an immediate rebuild, specify the -reparse flag.

Functional area

System

Command syntax

Syntax

addScriptPath ScriptPath [-reparse]

Arguments

NameTypeRequiredComments
pathstringyesPath to add to set of search paths. File and directory paths must use forward slashes instead of back-slashes.

Flags

NameFlag argumentsArgument typeExclusive toComments
reparse0If option is set the scripts and the pipelines from the directory will be reloaded

Return value

void 

Examples

// Add a new script directory and re-load scripts and pipelines
addScriptPath "C:/My Documents/Shogun/MyScripts/" -reparse;

Additional information

Related commands