Vicon Shogun banner

Description

Gets the name of the script currently in the Script Editor, optionally providing the full path.

Functional area

Interface

Command syntax

Syntax

getCurrentScript [-fullPath]

Arguments

None

Flags

NameFlag argumentsArgument typeExclusive toComments
fullPath0Gets the full path for the current script

Return value

string

Examples

//Print the full path of the current script to the log.
string $s = `getCurrentScript –fullPath`;
print $s;

Additional information

Related commands