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.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

FileDialogWatcher.GetLastPath

Queries the last path used in open/save dialogs.

Component Version macOS Windows Server FileMaker Cloud 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

Release notes

Created 18th August 2014, last changed 4th September 2020


FileDialog.SetWindowTitle   -   FileDialogWatcher.Install

Feedback: Report problem or ask question.




Links
MBS Xojo blog