Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Menubar.ListMenuCommands

Lists all menu commands.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Menubar 5.0 Yes Yes No No No

MBS( "Menubar.ListMenuCommands" )

Parameters

none

Result

Returns list or error.

Description

Lists all menu commands.
The result is a list with a line for each menu entry. The data is separated with tab character. First in each row is the command ID followed by the menu item names for the path to the item.
Works well in FileMaker 12 or newer, but not in FileMaker 11.

Examples

List menu commands:

MBS("Menubar.ListMenuCommands")

Write commands to disk:

MBS("Text.WriteTextFile"; MBS( "Menubar.ListMenuCommands" ); "/Users/cs/Desktop/menu.txt")

See also


Menubar.IsMenuCommandChecked   -   Menubar.RemoveMenuCommand

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins