Platforms to show: All Mac Windows Linux Cross-Platform

HotKeyMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Hotkey MBS Util Plugin 15.2 ✅ Yes ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for registering hotkeys.

This is a crossplatform replacement for our CarbonHotKeyMBS class.

Modifier Flags

Constant Value Description
AlphaKey &h400 Alpha Lock
CommandKey &h100 Command Key on Mac, Windows Key on Windows.
ControlKey &h1000 Control Key
OptionKey &h800 Option/Alt Key
ShiftKey &h200 Shift Key

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 22.2
    • Marked HotkeyMBS class as console safe, but it may need a main loop with DoEvents to work.
  • Version 20.4
    • Rewrote HotkeyMBS class 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 18.4
    • Changed HotKeyMBS to not link to Carbon framework for use in Mac App Store.

The items on this page are in the following plugins: MBS Util Plugin.


HIDAPIDeviceMBS   -   HTMLViewer


The biggest plugin in space...