Process.SetFrontMost
--------------------

Moves FileMaker application to the front.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Process](component_Process.md) | [2.9](newinversion29.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Process.SetFrontMost" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Moves FileMaker application to the front.  
You can use [Process.IsFrontMost](ProcessIsFrontMost.md) to check the status.  
  
You can use [Window.Activate](WindowActivate.md) for Windows.  
  
Implemented Process.SetFrontMost for Windows in version 9.2. The plugin builds a list of all FileMaker windows. Then we activate the top most of them and move all other windows in z order behind.  
### Examples

Bring FileMaker to front:

 Set Variable \[ $r ; Value:MBS ("Process.SetFrontMost") \]  
### See also

- [FM.RunDatabaseDesignReport](FMRunDatabaseDesignReport.md)
- [FM.RunSaveAsXML](FMRunSaveAsXML.md)
- [Process.IsFrontMost](ProcessIsFrontMost.md)
- [Process.KeepFrontMost](ProcessKeepFrontMost.md)
- [Window.Activate](WindowActivate.md)

### Release notes

- **Version 9.2**
    - Implemented [Process.SetFrontMost](http://www.mbsplugins.eu/ProcessSetFrontMost.shtml) for Windows.

### Example Databases

- [Mac only/Process FrontMost](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Process%20FrontMost.shtml#1ScriptAnchor_)

### Blog Entries

- [MBS @ FMTraining.TV - MBS Open Q&amp;A](https://www.mbsplugins.de/archive/2025-05-22/MBS_@_FMTrainingTV_-_MBS_Open_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.2pr1](https://www.mbsplugins.de/archive/2019-04-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.9pr9](https://www.mbsplugins.de/archive/2012-09-29/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 15th June 2021

  
[Process.SetDllDirectory](ProcessSetDllDirectory.md) - [Process.SetQOSClass](ProcessSetQOSClass.md)

[HTML Version](ProcessSetFrontMost.shtml)