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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Queries name of the frontmost window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Process | 4.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
index | Optional for Mac. Pass -1 to return number of windows. Else pass index from 0 to count-1 to query title of nth window. | "" | Optional |
Returns window title.
Query title of focused window:
MBS( "Process.FrontWindowTitle")
Query on Mac number of Windows.
MBS( "Process.FrontWindowTitle"; -1 )
Query on Mac the second window:
MBS( "Process.FrontWindowTitle"; 1 )
Created 18th August 2014, last changed 10th August 2020
Process.FrontProcessName - Process.GetCurrentDirectory
Feedback: Report problem or ask question.