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: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  

App.SetProcessName

Sets the name of the current application.

Component Version macOS Windows Linux Server iOS SDK
App 3.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "App.SetProcessName"; name )   More

Parameters

Parameter Description Example
name The new name to display. "MyApp"

Result

Returns OK or error.

Description

Sets the name of the current application.
So for a runtime or FileMaker itself, this changes the name in the menubar.
Redraw may need a menu update.

See also App.SetDockIcon for changing dock icon and Menubar.SetMenuCommandTitle for changing some more menu entries.

Examples

Change app name:

Set Variable [ $r; Value:MBS("App.SetProcessName"; "My Great App") ]

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...") ]

See also

Example Databases

Blog Entries

This function checks for a paid license.

Created 18th August 2014, last changed 15th June 2021


App.SetDockIcon - App.UserID

💬 Ask a question or report a problem


Start Chat