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

MenuItem.GetPath

Queries path of a menu item in a menu hierarchy.

Component Version macOS Windows Linux Server iOS SDK
Menu 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "MenuItem.GetPath"; item; Mode { ; Delimiter } )   More

Parameters

Parameter Description Example Flags
item The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. $item
Mode Can be Title, Tag or ID and defines which value to use. "Title"
Delimiter Which delimiter to use. Default is newline. "/" Optional

Result

Returns text or error.

Description

Queries path of a menu item in a menu hierarchy.

See also

This function checks for a license.

Created 8th July 2015, last changed 1st August 2015


MenuItem.GetParentMenu - MenuItem.GetRequireCommand