Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

FileDialogWatcher.GetLastPath

Queries the last path used in open/save dialogs.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FileDialogWatcher 2.6 Yes No No No No

MBS( "FileDialogWatcher.GetLastPath" )

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.

See also

Example Databases


FileDialog.SetWindowTitle   -   FileDialogWatcher.Install

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos