HotKey.GetFileMakerWindowOnly
-----------------------------

Whether to only run the hotkey when a FileMaker document window is frontmost.

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

MBS( "HotKey.GetFileMakerWindowOnly"; HotKeyRef ) 

**MBS**( **"HotKey.GetFileMakerWindowOnly";** /\* Whether to only run the hotkey when a FileMaker document window is frontmost. \*/  
**$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

Whether to only run the hotkey when a FileMaker document window is frontmost.  
### See also

- [HotKey.Register](HotKeyRegister.md)
- [HotKey.SetFileMakerWindowOnly](HotKeySetFileMakerWindowOnly.md)

### Release notes

- **Version 16.0**
    - Added [HotKey.SetFileMakerWindowOnly](https://www.mbsplugins.eu/HotKeySetFileMakerWindowOnly.shtml) and [HotKey.GetFileMakerWindowOnly](https://www.mbsplugins.eu/HotKeyGetFileMakerWindowOnly.shtml) functions to only run hotkey when a FileMaker document window is frontmost.

### Blog Entries

- [MBS FileMaker Plugin 16.0 News](https://www.mbsplugins.de/archive/2026-01-20/MBS_FileMaker_Plugin_160_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 16.0pr5](https://www.mbsplugins.de/archive/2026-01-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 24th December 2025 , last changed 24th December 2025

  
[HotKey.GetEvaluate](HotKeyGetEvaluate.md) - [HotKey.GetIgnoreOnModal](HotKeyGetIgnoreOnModal.md)

[HTML Version](HotKeyGetFileMakerWindowOnly.shtml)