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
FileDialogWatcher.GetLastPath
Queries the last path used in open/save dialogs.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| FileDialog | 2.6 | Yes | Yes | No | No | No |
MBS( "FileDialogWatcher.GetLastPath" ) More
Parameters
none
Result
Returns OK 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
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 10.4pr8
- New cool things for Filemaker
- MBS Filemaker Plugin, version 2.6pr7
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.
Created 18th August 2014, last changed 4th September 2020
FileDialog.SetWindowTitle - FileDialogWatcher.Install
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins