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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Process.IsFrontMost
Checks if FileMaker is the frontmost application.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Process | 2.9 | Yes | Yes | No | No | No |
Parameters
none
Result
Returns 1 if FileMaker is frontmost and 0 if not.
Description
Checks if FileMaker is the frontmost application.If the function returns zero, you can call Process.SetFrontMost to move FileMaker to the front.
Added support for Windows in plugin version 4.2.
Examples
Check if we are in background and move us to front:
If [ MBS( "Process.IsFrontMost" ) = 0 ]
Set Variable [ $r ; Value: MBS( "Process.SetFrontMost" ) ]
End If
See also
Example Databases
Blog Entries
Created 18th August 2014, last changed 25th November 2019
Process.GetCurrentDirectory - Process.IsRunning
Feedback: Report problem or ask question.
Links
MBS FileMaker blog