| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Files.ApplicationPathWithBundleIdentifier
Get the file path for the application with the given identifier
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Files | 16.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
MBS( "Files.ApplicationPathWithBundleIdentifier"; BundleIdentifier { ; All } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| BundleIdentifier | The bundle identifier to find. | "com.apple.finder" | |
| All | Pass 1 to get a list with all found apps. | 1 | Optional |
Result
Returns OK or error.
Description
Get the file path for the application with the given identifierThis uses various heuristics in case multiple apps have the same bundle ID. This returns "" if no app has the bundle identifier.
Pass 1 for second parameter to get a list with all paths.
This functions looks up the database from macOS and doesn't search the disk.
Examples
Find the path for Finder:
MBS( "Files.ApplicationPathWithBundleIdentifier"; "com.apple.finder" )
Example result: /System/Library/CoreServices/Finder.app
Example result: /System/Library/CoreServices/Finder.app
Find all copies of FileMaker:
MBS( "Files.ApplicationPathWithBundleIdentifier"; "com.filemaker.client.pro12"; 1 )
Example result:
/Applications/FileMaker Pro.app
/Applications/FileMaker Pro 21.0.app
/Applications/FileMaker Pro 19.6.app
/Applications/FileMaker Pro 17.app
Example result:
/Applications/FileMaker Pro.app
/Applications/FileMaker Pro 21.0.app
/Applications/FileMaker Pro 19.6.app
/Applications/FileMaker Pro 17.app
Launch Calendar:
Let ( [
path = MBS( "Files.ApplicationPathWithBundleIdentifier"; "com.apple.ical" );
r = MBS( "Files.Launch"; path)
]; r )
path = MBS( "Files.ApplicationPathWithBundleIdentifier"; "com.apple.ical" );
r = MBS( "Files.Launch"; path)
]; r )
See also
Release notes
- Version 16.1
- Added Files.ApplicationPathWithBundleIdentifier function.
Blog Entries
This function checks for a license.
Created 18th February 2026, last changed 18th February 2026