Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 12.2 12.3 12.4 12.5 13.0 13.1 13.2 13.3 13.4 13.5 Statistic FMM Blog
Launches the file or opens folder.
|Files||2.7||✅ Yes||✅ Yes||❌ No||❌ No||❌ No|
|Path||Native path to the item to reveal.||"/Users/cs/Desktop/Notes.rtf"|
|NewInstance||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 or opens folder.
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.
Check also the Shell functions to run command line tools and get the output. This may work on the server, where the normal launch function may not work due to missing GUI.
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.
Shows a folder in Finder on Mac:
Write container to temp file and launch:
Launch new copy of same app:
Launch word file on Windows:
Launch Script taking a list of files to launch:
Open documents folder:
Launch notes app:
- Version 13.3
- Rewrote Files.LaunchFile function for macOS to use newer API.
- Version 7.2
- Tips and tricks with MBS
- New in MBS FileMaker Plugin 13.3
- MBS FileMaker Plugin, version 13.3pr5
- LogicalDOC Webservice
- Comparing Base Elements Plugin to MBS FileMaker Plugin
- MBS FileMaker Plugin, version 7.2pr4
- MBS Filemaker Plugin, version 4.2pr12
- MBS Filemaker Plugin 2.7 Release notes
- MBS Filemaker Plugin, version 2.7pr1
This function checks for a license.
Created 18th August 2014, last changed 4th April 2022