Platforms to show: All Mac Windows Linux Cross-Platform

Back to FolderItem class.

FolderItem.LaunchServicesRegisterMBS(update as boolean) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 3.4 ✅ Yes ❌ No ❌ No ✅ Yes All
If the specified folderitem refers to an application or other bundle claiming to handle documents or URLs, add the bundle's document and URL claims to the Launch Services database.

Requires Mac OS X 10.3.

Update: When false, LaunchServicesRegisterMBS does not register the item if it has already been registered and the current modification date of the item has not changed from when it was last registered. When true, the item's registered info is updated, even if the modification has not changed.

Returns an error code:
An OSStatus value: noErr (0) - Success kLSNoRegistrationInfoErr (-10824) - The item does not contain info requiring registration kLSDataErr (-10817) - The item's property list info is malformed.
Returns -1 if the function is not available.

Blog Entries

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


The biggest plugin in space...