Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  


Queries name of the frontmost window.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Process 4.2 Yes Yes No No No
MBS( "Process.FrontWindowTitle" { ; index } )   More


Parameter Description Example value
index Optional
Optional for Mac. Pass -1 to return number of windows. Else pass index from 0 to count-1 to query title of nth window.


Returns window title.


Queries name of the frontmost window.
On Mac OS X requires you to allow FileMaker accessibility functions. In System Preferences check privacy control panel and add FileMaker there to the list allowed for assistive input.


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 )

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014

Process.FrontProcessName   -   Process.GetCurrentDirectory

Feedback: Report problem or ask question.

MBS Xojo Plugins