GetGuiType Function

グラフィカルユーザーインタフェースの種類を示す数値を返します。

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

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.


構文:


         GetGUIType()
      

戻り値:

整数

戻り値:

1: Windows

4: UNIX

例:


         Sub ExampleEnvironment
             MsgBox GetGUIType
         End Sub
      

ご支援をお願いします!