ResultVariable
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
System.GetOSName
OverviewExamples
string System.GetOSName ( )
De s cr ip t ion
Gets the name of the operating system the user is running:
Windows 7
Windows Server 2008 R2 Windows Vista
Windows Server 2008
Windows XP
Windows Server 2003
Windows 2000
Windows NT 4
Windows NT 3 Windows ME Windows 98
Windows 95
P arame t er s
None.
Re t u r n s
(string) A string containing the name of the OS the user is running on their system. If this action fails, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.