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: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  


Queries the last path used in open/save dialogs.

Component Version macOS Windows Linux Server iOS SDK License
FileDialog 2.6 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No Paid
MBS( "FileDialogWatcher.GetLastPath" )




Returns text or error.


Queries the last path used in open/save dialogs.
This returns native path like "/Users/cs/Desktop/test.jpg".
Use Path.NativePathToFileMakerPath to convert to a FileMaker path if you plan to use "filemac:" for an insert file script step.
Does not work with FileMaker 8.5, 9 or 10. Works with FileMaker 11 and 12.

Added support for Windows with version 10.4, but doesn't work for FileMaker's own dialogs.

See also

Release notes

Example Databases

Blog Entries

Created 18th August 2014, last changed 9th November 2021

FileDialog.SetWindowTitle - FileDialogWatcher.Install

Feedback: Report problem or ask question.

Start Chat