Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.RevealFile
Reveals the file/folder in the shell.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 2.7 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Files.RevealFile"; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
Path | Native path to the item to reveal. | "C:\Windows" |
Result
Returns "OK" or error.
Description
Reveals the file/folder in the shell.Shows file or folder in Finder or opens directory in Explorer.
With version 6.3 the Mac plugin can take a list of paths here.
To open a folder, please use Files.LaunchFile function.
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.
Examples
Reveal 3 items:
MBS( "Files.RevealFile"; "/Users/cs/Public¶/Users/cs/Music¶/Users/cs/Library" )
Open desktop folder on Windows:
MBS("Files.RevealFile"; "C:\Users\Administrator\Desktop")
Show file in explorer window:
MBS("Files.RevealFile"; "C:\Users\Christian\Desktop\Test\test.txt")
See also
- Files.Launch
- Files.LaunchFile
- Files.MoveFile
- Files.ReadFile
- Files.RenameFile
- Path.FileMakerPathToNativePath
Release notes
- Version 12.4
- Rewrote Files.RevealFile for Windows to select a file.
Example Databases
Blog Entries
- Neues MBS Plugin 12.4 für Claris FileMaker
- MBS Plugin 12.4 for Claris FileMaker
- MBS FileMaker Plugin, version 12.4pr3
- MBS FileMaker Plugin 6.3 for OS X/Windows
- MBS FileMaker Plugin, version 6.3pr1
- 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 22nd August 2022