HotKey.GetEvaluate
------------------

Queries expression to be run when hotkey is pressed.

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

MBS( "HotKey.GetEvaluate"; HotKeyRef ) 

**MBS**( **"HotKey.GetEvaluate";** /\* Queries expression to be run when hotkey is pressed. \*/  
**$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 text or error.

### Description

Queries expression to be run when hotkey is pressed.  
### See also

- [HotKey.Register](HotKeyRegister.md)
- [HotKey.SetEvaluate](HotKeySetEvaluate.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.1pr5](https://www.mbsplugins.de/archive/2016-03-06/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 4th March 2016 , last changed 9th November 2021

  
[HotKey.GetEnabled](HotKeyGetEnabled.md) - [HotKey.GetFileMakerWindowOnly](HotKeyGetFileMakerWindowOnly.md)

[HTML Version](HotKeyGetEvaluate.shtml)