GetGuiType-funktion

Returnerer en numerisk værdi som angiver den grafiske brugergrænseflade.

Denne funktion leveres alene af hensyn til bagud-kompabilitet med tidligere versioner. Returværdien er ikke definere i klient-server-miljøer.

note

Wiser script instructions are available from Identifying the operating system help page.


tip

• ScriptForge.Platform service provides a collection of properties about the current execution environment and context, that include platform detection.

• Extensive operating system name identification is available from INFO("system") Calc formula.


Syntaks:


         GetGUIType()
      

Returværdi:

Integer

Returværdier:

1: Windows

4: UNIX

Eksempel:


         Sub ExampleEnvironment
             MsgBox GetGUIType
         End Sub