Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 8.5 Statistic
Launches the file.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|Path||Native path to the item to reveal.||"/Users/cs/Desktop/Notes.rtf"|
Available in MBS FileMaker Plugin 7.2 or newer.
Whether to launch new app instance on Mac.
Default is 0.
Returns "OK" or error.
DescriptionLaunches the file.
The OS will lookup what application is associated with the file type and launch the application asking it to open the document.
See also Files.Launch if you need to pass application and document.
If you launch a folder path, the folder will open in Finder/Explorer.
Please use Files.LaunchFile to open a file and Files.Launch to open a file in a specific application.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
Shows a folder in Finder on Mac:
Write container to temp file and launch:
Launch new copy of same app:
Created 18th August 2014, last changed 11st July 2017
Feedback: Report problem or ask question.
MBS Xojo Plugins