Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
style
sortDirectionASC
repeatTableHeadersdefault
widths25%, 11%, 13%, 51%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

Scroll tablelayout
style
sortDirectionASC
repeatTableHeadersdefault
widths20%, 15%, 14%, 13%, 38%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

Return value

string

Examples

Code Block
languagetext
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