Vicon Shogun banner

Description

This command saves as a script the current contents of the Script Editor. If no path is specified, a file browser opens, defaulting to the last saved script location, enabling you to specify a path for saving. If you specify a path, use forward slash ( / ) path separators.

Functional area

Interface

Command syntax

Syntax

saveScript ["scriptPath"]

Arguments

NameTypeRequiredComments
scriptPathstringyesSpecifies the path to which to save the script

Flags

None

Return value

void

Examples

//Saves the contents of the script editor to the specified path
//Note: forward slash separators are used.
saveScript "C:/temp";

Additional information

Related commands