Platforms to show: All Mac Windows Linux Cross-Platform

LaunchServicesAllHandlersForURLSchemeMBS(URLScheme as string) as LaunchServicesStringListMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Launch Services MBS MacOSX Plugin 6.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns an array of application bundle identifiers for applications capable of handling the specified URL scheme.
Example
dim l as LaunchServicesStringListMBS
dim s(-1) as string
dim i,c as Integer

l=LaunchServicesAllHandlersForURLSchemeMBS("http")
if l<>nil then
c=l.Count-1
for i=0 to c
s.Append l.Item(i)
next

MsgBox Join(s,", ")
end if

URL handling capability is determined according to the kCFBundleURLTypes listed in an application's Info.plist).
Returns nil if no handlers are available.

Example output from the code above:
org.videolan.vlc, com.RealNetworks.RealPlayer, org.mozilla.firefox, com.apple.safari, de.icab.iCab, com.microsoft.explorer

Requires Mac OS X 10.4 to work correct. Returns always nil on older systems.

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...