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


Queries the group id of the menu item.

Component Version macOS Windows Linux Server iOS SDK
Menu 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "MenuItem.GetGroupID"; 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.


Queries the group id of the menu item.
If several menu items have the same group id, the plugin only shows the first one fulfilling all requirements like key modifiers.

See also

This function checks for a license.

Created 6th June 2015, last changed 9th November 2021

MenuItem.GetFontSize - MenuItem.GetHidden