HotKey.GetPermanent
-------------------

Queries whether this hotkey should be permanent.

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

MBS( "HotKey.GetPermanent"; HotKeyRef ) 

**MBS**( **"HotKey.GetPermanent";** /\* Queries whether this hotkey should be permanent. \*/  
**$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 hotkey should be permanent.  
### See also

- [HotKey.Register](HotKeyRegister.md)
- [HotKey.SetPermanent](HotKeySetPermanent.md)

### Release notes

- **Version 10.2**
    - Added [HotKey.SetPermanent](https://www.mbsplugins.eu/HotKeySetPermanent.shtml) and [HotKey.GetPermanent](https://www.mbsplugins.eu/HotKeyGetPermanent.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 March 2020

  
[HotKey.GetName](HotKeyGetName.md) - [HotKey.GetScriptFileName](HotKeyGetScriptFileName.md)

[HTML Version](HotKeyGetPermanent.shtml)