/
appInfo
appInfo
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
Name | Type | Required | Comments |
---|---|---|---|
>profile | str | Yes | Return the full path of the current profile |
version | str | Yes | Return the version of the current executable including the SVN build number |
exepath | str | Yes | Return the full path of the current executable |
exeLocation | str | Yes | Return the folder of the current executable |
computername | str | Yes | Return the computer name |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
noFeedback | 0 | — | — | Prevent 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
, multiple selections available,