Platforms to show: All Mac Windows Linux Cross-Platform

Back to UTTypeMBS module.

Previous items

UTTypeMBS.kUTTypeObjectiveCSource as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypePackage as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypePDF as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypePICT as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypePlainText as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypePNG as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

Some examples using this method:

UTTypeMBS.kUTTypeQuickTimeImage as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeQuickTimeMovie as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeReferenceURLKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the keys used in type declarations.
Example
MsgBox UTTypeMBS.kUTTypeReferenceURLKey // "UTTypeReferenceURL"

UTTypeMBS.kUTTypeResolvable as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeRTF as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeRTFD as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeSourceCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeSymLink as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeTagSpecificationKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the keys used in type declarations.
Example
MsgBox UTTypeMBS.kUTTypeTagSpecificationKey // "UTTypeTagSpecification"

UTTypeMBS.kUTTypeText as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeTIFF as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeTXNTextAndMultimediaData as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeURL as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeUTF16ExternalPlainText as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeUTF16PlainText as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeUTF8PlainText as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeVCard as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeVersionKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the keys used in type declarations.
Example
MsgBox UTTypeMBS.kUTTypeVersionKey // "UTTypeVersion"

UTTypeMBS.kUTTypeVideo as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeVolume as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeWebArchive as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.kUTTypeXML as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the predefined type constants.

UTTypeMBS.PreferredTagWithClass(inUTI as string, inTagClass as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the identified type's preferred tag with the specified tag class as a String.
Example
MsgBox UTTypeMBS.PreferredTagWithClass("public.jpeg",UTTypeMBS.kUTTagClassMIMEType)
// shows "image/jpeg"
MsgBox UTTypeMBS.PreferredTagWithClass("public.jpeg",UTTypeMBS.kUTTagClassFilenameExtension)
// shows "jpeg"

This is the primary function to use for going from uniform type identifier to tag. If the type declaration included more than one tag with the specified class, the first tag in the declared tag array is the preferred tag.

UTTypeMBS.UTI(file as folderitem) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Launch Services MBS MacOSX Plugin 8.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Queries the UTI for a given file.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.xojo_binary_project")
MsgBox UTTypeMBS.UTI(f) // shows com.xojo.project.binary

Returns "" if no UTI is available.

Previous items

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


💬 Ask a question or report a problem
The biggest plugin in space...