HotKey.GetKeyUp
---------------

Queries whether to trigger script both on key down and key up.

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

MBS( "HotKey.GetKeyUp"; HotKeyRef ) 

**MBS**( **"HotKey.GetKeyUp";** /\* Queries whether to trigger script both on key down and key up. \*/  
**$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 0, 1 or error.

### Description

Queries whether to trigger script both on key down and key up.  
### See also

- [HotKey.GetKeyCode](HotKeyGetKeyCode.md)
- [HotKey.Register](HotKeyRegister.md)
- [HotKey.SetKeyUp](HotKeySetKeyUp.md)

### Release notes

- **Version 7.1**
    - Added [HotKey.GetKeyUp](http://www.mbsplugins.eu/HotKeyGetKeyUp.shtml) and [HotKey.SetKeyUp](http://www.mbsplugins.eu/HotKeySetKeyUp.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 7.1pr3](https://www.mbsplugins.de/archive/2017-02-22/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 10th February 2017 , last changed 27th August 2020

  
[HotKey.GetKeyCode](HotKeyGetKeyCode.md) - [HotKey.GetLocal](HotKeyGetLocal.md)

[HTML Version](HotKeyGetKeyUp.shtml)