Функция GetGuiType

Връща числова стойност, отразяваща вида на графичния потребителски интерфейс.

Тази функция служи само за съвместимост с предишни версии. Резултатът не е дефиниран в среда от типа „клиент – сървър“.

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

Връщана стойност:

Integer

Връщани стойности:

1: Windows

4: UNIX

Пример:


         Sub ExampleEnvironment
             MsgBox GetGUIType
         End Sub
      

Моля, подкрепете ни!