HotKey.GetScriptWorkspaceOnly
-----------------------------

Queries whether this should be limited to Script Workspace.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [HotKey](component_HotKey.md) | [10.2](newinversion102.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "HotKey.GetScriptWorkspaceOnly"; HotKeyRef ) 

**MBS**( **"HotKey.GetScriptWorkspaceOnly";** /\* Queries whether this should be limited to Script Workspace. \*/  
**$HotKeyRef**) /\* The reference value for the hotkey as returned by [HotKey.Register](HotKeyRegister.md) function.e.g. $hotkey \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| HotKeyRef | The reference value for the hotkey as returned by [HotKey.Register](HotKeyRegister.md) function. | $hotkey |

### Result

Returns 1, 0 or error.

### Description

Queries whether this should be limited to Script Workspace.  
### See also

- [HotKey.Register](HotKeyRegister.md)
- [HotKey.SetScriptWorkspaceOnly](HotKeySetScriptWorkspaceOnly.md)

### Release notes

- **Version 10.2**
    - Added [HotKey.SetScriptWorkspaceOnly](https://www.mbsplugins.eu/HotKeySetScriptWorkspaceOnly.shtml) and [HotKey.GetScriptWorkspaceOnly](https://www.mbsplugins.eu/HotKeyGetScriptWorkspaceOnly.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 10.2pr1](https://www.mbsplugins.de/archive/2020-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 16th March 2020 , last changed 16th November 2023

  
[HotKey.GetScriptName](HotKeyGetScriptName.md) - [HotKey.GetTag](HotKeyGetTag.md)

[HTML Version](HotKeyGetScriptWorkspaceOnly.shtml)