Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Returns the menuitem's unmodified keyboard equivalent.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "MenuItem.GetKeyEquivalent"; item )   More


Parameter Description Example
item The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. $item


Returns text or error.


Returns the menuitem's unmodified keyboard equivalent.
The menuitem's unmodified keyboard equivalent, or the empty string if one hasn't been defined.
Use MenuItem.GetKeyEquivalentModifierMask to determine the modifier mask for the key equivalent.
See also MenuItem.SetKeyEquivalent.

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014

MenuItem.GetItalic - MenuItem.GetKeyEquivalentModifierMask