Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Menubar.ListMenuCommands
Lists all menu commands.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Menubar | 5.0 | Yes | Yes | No | No | No |
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.HasMenuCommand
- Menubar.IsMenuCommandChecked
- Menubar.RemoveMenuCommand
- Menubar.RunMenuCommand
- Menubar.SetMenuCommandShortcut
- Menubar.SetMenuCommandTitle
- Menubar.SetMenuCommandVisible
- Text.WriteTextFile
Blog Entries
FileMaker Magazin
Created 15th November 2014, last changed 15th September 2016
Menubar.IsMenuCommandChecked - Menubar.RemoveMenuCommand
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos