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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    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.

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

Created 18th August 2014, last changed 25th April 2021


App.SetDockIcon - App.UserID

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat