Contents

# 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()

## 傳回值類型：

整型

## 傳回值：

1: Windows

4: UNIX

## 示例：

             Sub ExampleEnvironment
                 MsgBox GetGUIType
             End Sub