Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FileDialogWatcher.GetLastPath
Queries the last path used in open/save dialogs.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FileDialog | 2.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "FileDialogWatcher.GetLastPath" )
Parameters
none
Result
Returns text or error.
Description
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
- Version 10.4
- Added FileDialogWatcher.GetLastPath and FileDialogWatcher.Install for Windows in addition for macOS, but doesn't work as FileMaker uses older APIs.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 10.4pr8
- New cool things for Filemaker
- MBS Filemaker Plugin, version 2.6pr7
This function checks for a license.
Created 18th August 2014, last changed 9th November 2021