Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Component: HotKey
Hotkeys to execute scripts.
Version | macOS | Windows | Linux | Server | iOS SDK |
5.0 / 10.3 | ✅ Yes | 🔶 78% | ❌ No | ❌ No | ❌ No |
Item | Details |
---|---|
HotKey.GetEnabled Queries the enabled state. | Mac/Win 5.4 |
HotKey.GetEvaluate Queries expression to be run when hotkey is pressed. | Mac/Win 6.1 |
HotKey.GetIgnoreOnModal Queries state for modal dialogs. | Mac/Win 5.4 |
HotKey.GetKeyCode Returns the key code given at registration. | Mac/Win 5.2 |
HotKey.GetKeyUp Queries whether to trigger script both on key down and key up. | Mac only 7.1 |
HotKey.GetLocal Queries the local flag. | Mac/Win 5.4 |
HotKey.GetModifiers Returns the modifiers given at registration. | Mac/Win 5.2 |
HotKey.GetName Queries the name defined for this hotkey. | Mac/Win 5.4 |
HotKey.GetPermanent Queries whether this hotkey should be permanent. | Mac only 10.2 |
HotKey.GetScriptFileName Queries filename of script to call in case of event. | Mac/Win 5.0 |
HotKey.GetScriptName Queries name of script to call in case of event. | Mac/Win 5.0 |
HotKey.GetScriptWorkspaceOnly Queries whether this should be limited to Script Workspace. | Mac only 10.2 |
HotKey.GetTag Queries the tag defined for this hotkey. | Mac/Win 5.4 |
HotKey.List Lists all hotkeys. | Mac/Win 5.2 |
HotKey.Register Registers a global hot key based on the virtual key code and modifiers. | Mac/Win 5.0 |
HotKey.SetEnabled Sets the enabled state. | Mac/Win 5.4 |
HotKey.SetEvaluate Sets expression to be run when hotkey is pressed. | Mac/Win 6.1 |
HotKey.SetIgnoreOnModal Sets state for modal dialogs. | Mac/Win 5.4 |
HotKey.SetKeyUp Whether to trigger script both on key down and key up. | Mac only 7.1 |
HotKey.SetLocal Sets the local flag. | Mac/Win 5.4 |
HotKey.SetName Sets the name of a hotkey. | Mac/Win 5.4 |
HotKey.SetPermanent Sets whether this hotkey should be permanent. | Mac only 10.2 |
HotKey.SetScript Sets which script to call if hotkey is pressed. | Mac/Win 5.0 |
HotKey.SetScriptWorkspaceOnly Sets whether this should be limited to Script Workspace. | Mac only 10.2 |
HotKey.SetTag Sets the tag of a hotkey. | Mac/Win 5.4 |
HotKey.Unregister Unregisters a hotkey and frees resources. | Mac/Win 5.0 |
HotKey.UnregisterAll Unregisters all hotkeys. | Mac/Win 10.3 |
27 functions shown.
These functions require a license (70%).
Release notes
- Version 13.1
- Implemented local Hotkeys for Windows. So if HotKey.Register is passed Local = 1, we run a different code path to monitor keyboard instead of registering global hotkey.
- Version 12.1
- Added parameter as optional parameter for HotKey.SetScript function to overwrite default parameter.
- Version 11.5
- Changed implementation for HotKey functions for local hotkeys on macOS. Now hotkey set with HotKey.SetLocal to 1 will now process only within FileMaker and no longer block shortcuts in other applications.
- Version 10.4
- Rewrote Hotkey functions for Windows to use official API. May prevent from duplicate registration and a hotkey processed in FileMaker is no longer passed to other apps.
- Version 10.3
- Added HotKey.UnregisterAll function.
- Changed HotKey.Unregister function to take list of reference numbers.
- Version 10.2
- Added HotKey.SetPermanent and HotKey.GetPermanent functions.
- Added HotKey.SetScriptWorkspaceOnly and HotKey.GetScriptWorkspaceOnly functions.
- Version 7.1
- Added HotKey.GetKeyUp and HotKey.SetKeyUp.
Blog Entries
- MBS FileMaker Plugin 14.0 for Claris FileMaker
- Search scripts in FileMaker for Windows
- MBS FileMaker Plugin 11.5
- MBS FileMaker Plugin, version 11.5pr3
- MBS FileMaker Plugin 10.4 - More than 6300 Functions In One Plugin
- MBS FileMaker Plugin 10.2 - More than 6200 Functions In One Plugin
- MBS FileMaker Plugin 7.1 - More than 4400 Functions In One Plugin
- MBS FileMaker Plug-in 6.1 for OS X/Windows
- MBS FileMaker Plugin 5.2 for OS X/Windows - More than 3200 Functions
- MBS FileMaker Plugin 5.0 for OS X/Windows - More than 3000 Functions In One Plugin