Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Process.FrontProcessName

Queries name of the frontmost app.

Component Version macOS Windows Linux Server iOS SDK
Process 4.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Process.FrontProcessName" )

Parameters

none

Result

Returns app name.

Description

Queries name of the frontmost app.
On Windows the app name is just the name of the exe file.
Returns empty string or error in case of errors.

Examples

Show name of current process in front:

Show Custom Dialog [ "Front Process" ; MBS( "Process.FrontProcessName" ) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 25th November 2017


Process.FrontProcessBundleID - Process.FrontWindowTitle