Bring To Front (script step reference)

Troi File Plug-in for FileMaker Pro

Bring To Front

Brings the FileMaker Pro application to the front

SyntaxScript step badge

Bring To Front [ Select ; Result (error) ]

Options

Select entire contentsreplaces the entire contents of a field with the result. If not checked the result replaces the currently selected portion of the field
Result (error)an error code

Returned Result

Data type returned

Error code

Result

The returned result is an error code. An error always starts with 2 dollars, followed by the error code. You should always check for errors. Returned error codes can be:

0no error
$$-4296could not bring to front

Other errors may be returned.

Originated in

Troi File Plug-in 12.0

Compatibility

FileMaker Pro 16 to 19

Considerations

If the FileMaker Pro application is behind other applications, this script step will bring FileMaker Pro in front of the other applications.
You can use this script step for example when a lengthy script is finished, or when you use the Drag and Drop functionality to drag from another application that is in front or when you drag from a Finder or Explorer window.
In the drag Triggerscript you can decide if this drag needs FileMaker to become the front application and if it does, you can call this script step.

Example

Bring To Front [ Select ; $ErrorCode ]

This will bring FileMaker Pro in front of other applications.

Related script stepsScript step badge

Add DragAndDrop Handler
Launch Application

Related functionsFunction badge

TrFile_BringToFront
TrFile_DragAndDrop

Related topics

Troi File Plug-in online help (overview)


Online Help Page for Troi File Plug-in for 15 to 19 –> Bring To Front (filep7325) 2020-0520 14:46:42