...
The appInfo profile command returns a string containing the Shogun the Shogun application information (currently in use) that was queried, depending on the type of argument.
...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Return value
string
Examples
Code Block | ||
---|---|---|
| ||
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 |