WindowsScript.GetAllowUI
------------------------

Returns the Allow UI State of the specified script.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsScript](component_WindowsScript.md) | [1.1](newinversion11.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WindowsScript.GetAllowUI"; ScriptID ) 

**MBS**( **"WindowsScript.GetAllowUI";** /\* Returns the Allow UI State of the specified script. \*/  
**$ScriptID**) /\* The ID of a WindowsScript in memory. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ScriptID | The ID of a WindowsScript in memory. |  |

### Description

Returns the Allow UI State of the specified script.   
Scripts can either allow user interaction or not.  
### See also

- [WindowsScript.GetTimeout](WindowsScriptGetTimeout.md)
- [WindowsScript.SetAllowUI](WindowsScriptSetAllowUI.md)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[WindowsScript.ExecuteStatement](WindowsScriptExecuteStatement.md) - [WindowsScript.GetLanguage](WindowsScriptGetLanguage.md)

[HTML Version](WindowsScriptGetAllowUI.shtml)