Função GetGuiType

Retorna um valor numérico que especifica a interface gráfica de usuário.

Esta função só é fornecida para fins de compatibilidade com versões anteriores. O valor de retorno não é definido em ambientes cliente-servidor.

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.


Sintaxe:


         GetGUIType()
      

Valor de retorno:

Integer

Valores de retorno:

1: Windows

4: UNIX

Exemplo:


         Sub ExampleEnvironment
             MsgBox GetGUIType
         End Sub