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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets the title of a menu item.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Menubar | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
Path | The ID or path to the menu entry. Use Menubar.ListMenuCommands to find out the IDs and names. |
49297 | |
Title | The new menu item title. | "Hello" | Optional |
Returns OK or error.
Rename menu entry on Mac:
MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro Advanced¶FileMaker Pro Advanced ausblenden"; "Hello")
Sets a menu entry on Windows:
MBS("Menubar.SetMenuCommandTitle"; "Datei¶Verwalten"; "Hello")
Rename hide menu command:
MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro Advanced¶Hide FileMaker Pro Advanced"; "Hide MyApp")
Rename quite menu item:
MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro Advanced¶Quit FileMaker Pro Advanced"; "Quit MyApp")
Rename whole application menu:
Set Variable [ $r ; Value: MBS("App.SetProcessName"; "My Great App") ]
Set Variable [ $r ; Value: MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro¶Hide FileMaker Pro"; "Hide My Great App") ]
Set Variable [ $r ; Value: MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro¶Quit FileMaker Pro"; "Quit My Great App") ]
Set Variable [ $r ; Value: MBS("Menubar.SetMenuCommandTitle"; "FileMaker Pro¶About FileMaker Pro..."; "About My Great App...") ]
This function checks for a license.
Created 7th February 2016, last changed 14th July 2022
Menubar.SetMenuCommandShortcut - Menubar.SetMenuCommandVisible