Platforms to show: All Mac Windows Linux Cross-Platform

LaunchServicesItemInfoForCFURLMBS(cfurlhandle as Integer, WhichInfo as Integer) as LaunchServicesItemInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Return information about an item.

Returns as much or as little information as requested about the url. Some information is available in a thread-safe manner, some is not.

Cfurlhandle should be the non 0 value from a CFURL object handle property.

Possible values you can combine for the WhichInfo parameter:
kLSRequestExtension = &h01Requests the item's filename extension.
kLSRequestTypeCreator = &h02Requests the item's file type and creator signature.
kLSRequestBasicFlagsOnly = &h04Requests all item-information flags that are not application-specific: that is, all except IsNativeApp, IsClassicApp, AppPrefersNative, AppPrefersClassic and AppIsScriptable.
kLSRequestAppTypeFlags = &h08Requests all application-specific item-information flags: that is, IsNativeApp, IsClassicApp, AppPrefersNative, AppPrefersClassic and AppIsScriptable.
kLSRequestAllFlags = &h10Requests all item-information flags.
kLSRequestIconAndKind = &h20Not used.
kLSRequestExtensionFlagsOnly= &h40Requests only the kLSItemInfoExtensionIsHidden item-information flag.
kLSRequestAllInfo = -1

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


The biggest plugin in space...