Vicon Shogun banner

Description

The appInfo profile command returns a string containing the Shogun application information (currently in use) that was queried, depending on the type of argument.

Functional area

Interface

Command syntax

Syntax

appInfo "str"[-noFeedback]

Arguments

NameTypeRequiredComments
>profilestrYesReturn the full path of the current profile
versionstrYesReturn the version of the current executable including the SVN build number
exepathstrYesReturn the full path of the current executable
exeLocationstrYesReturn the folder of the current executable
computernamestrYesReturn the computer name

Flags

NameFlag argumentsArgument typeExclusive toComments
noFeedback0Prevent command from printing to the command log.

Return value

string

Examples

string $t1 = `appInfo "profile"`;
string $t2 = `appInfo "version"`;
string $t3 = `appInfo "exepath"`;
string $t4 = `appInfo "exelocation"`;
string $t5 = `appInfo "user"`;
string $t6 = `appInfo "computername"`;
print $t1 $t2 $t3 $t4 $t5 $t6;

// Result may look like this
// Profile currently in use D:/Shogun/bin/Default.ini
// Version is: 1.2.158.34982
// Full path to exe: D:/Shogun/bin/Shogun.exe
// Location of exe: D:/Shogun/bin/
// Current user: user
// Computer name: VMS-DEV1