Пожалуйста, поддержите нас!

GetGuiType Function

Возвращает численное значение, которое указывает на графический интерфейс пользователя.

This function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.

Значок примечания

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


Значок подсказки

• 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.


Синтаксис


         GetGUIType()
      

Возвращаемое значение:

Integer

Возвращаемые значения:

1: Windows

4: UNIX

Пример:


         Sub ExampleEnvironment
             MsgBox GetGUIType
         End Sub