Platforms to show: All Mac Windows Linux Cross-Platform

Back to MDItemMBS class.

Next items

MDItemMBS.AllAttributes as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns a list with all possible attribute names in the system.

dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox join(item.AllAttributes, EndOfLine)

Some examples using this method:

MDItemMBS.AttributeMultiValued(name as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether the given attribute is an array of multiple values.

Some examples using this method:

MDItemMBS.AttributeType(name as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The type of the attribute.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.AttributeType(item.kMDItemFSName) // "String"

Returns "Boolean", "Number", "Date" or "String".

Some examples using this method:

MDItemMBS.DisplayDescriptionForAttribute(name as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The display description for the attribute.

dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.DisplayDescriptionForAttribute(item.kMDItemDisplayName)
// shows "Lokalisiert angezeigter Name der Datei" in German

Some examples using this method:

MDItemMBS.DisplayNameForAttribute(name as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The display name for this attribute.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.DisplayNameForAttribute(item.kMDItemDisplayName)
// shows "Anzeigename" in German

Some examples using this method:

MDItemMBS.kMDItemAcquisitionMake as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The manufacturer of the device used to aquire the document contents. A string.

MDItemMBS.kMDItemAcquisitionModel as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The model of the device used to aquire the document contents. For example, 100, 200, 400, etc. A string.

MDItemMBS.kMDItemAlbum as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The title for a collection of media. This is analagous to a record album, or photo album. A string.

MDItemMBS.kMDItemAltitude as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The altitude of the item in meters above sea level, expressed using the WGS84 datum. Negative values lie below sea level. A number.

MDItemMBS.kMDItemAperture as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The aperture setting used to acquire the document contents. This unit is the APEX value. A number.

MDItemMBS.kMDItemAppleLoopDescriptors as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Specifies multiple pieces of descriptive information about a loop. An array of strings.

Besides genre and instrument, files can contain descriptive information that help users in refining searches.

MDItemMBS.kMDItemAppleLoopsKeyFilterType as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Specifies key filtering information about a loop. Loops are matched against projects that often in a major or minor key. A string.

To assist users in identifying loops that will "fit" with their compositions, loops can be tagged with one of the following key filters: "AnyKey" "Minor" "Major" "NeitherKey" "BothKeys". "AnyKey" means that it fits with anything (whether in a major key, minor key or neither). "Minor" fits with compositions in a minor key. "NeitherKey" doesn't work well with compositions that are in major or minor key. "BothKeys" means it fits with major or minor key.

MDItemMBS.kMDItemAppleLoopsLoopMode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Specifies how a file should be played. A string.

Tagged files can either be loops or non-loops (e.g., a cymbal crash). "Looping" indicates if the file should be treated as a loop. "Non-looping" indicates the file should not be treated as a loop.

MDItemMBS.kMDItemAppleLoopsRootKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Specifies the loop's original key. The key is the root note or tonic for the loop, and does not include the scale type. A string.

MDItemMBS.kMDItemApplicationCategories as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Available in Mac OS X 10.7 and later.

MDItemMBS.kMDItemAttributeChangeDate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The date and time of the last change made to a metadata attribute. A date.

MDItemMBS.kMDItemAudiences as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The audience for which the file is intended. The audience may be determined by the creator or the publisher or by a third party. An array of strings.

MDItemMBS.kMDItemAudioBitRate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The audio bit rate. A number.

MDItemMBS.kMDItemAudioChannelCount as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Number of channels in the audio data contained in the file. A number.

This integer value only represents the number of discreet channels of audio data found in the file. It does not indicate any configuration of the data in regards to a user's speaker setup.

MDItemMBS.kMDItemAudioEncodingApplication as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The name of the application that encoded the data contained in the audio file. A string.

MDItemMBS.kMDItemAudioSampleRate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Sample rate of the audio data contained in the file. The sample rate is a float value representing hz (audio_frames/second). For example: 44100.0, 22254.54. A number.

MDItemMBS.kMDItemAudioTrackNumber as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The track number of a song or composition when it is part of an album. A number (integer).

MDItemMBS.kMDItemAuthorAddresses as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

This attribute indicates the author addresses of the document.
An array of string. Requires Mac OS X 10.6.

MDItemMBS.kMDItemAuthorEmailAddresses as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

This attribute indicates the author of the emails message addresses. (This is always the email address, and not the human readable version). An array of string. Requires Mac OS X 10.5.

MDItemMBS.kMDItemAuthors as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The author, or authors, of the contents of the file. An array of strings.
The order of the authors is preserved, but does not represent the main author or relative importance of the authors.

MDItemMBS.kMDItemBitsPerSample as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The number of bits per sample. For example, the bit depth of an image (8-bit, 16-bit etc...) or the bit depth per audio sample of uncompressed audio data (8, 16, 24, 32, 64, etc..). A number.

MDItemMBS.kMDItemCameraOwner as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Available in Mac OS X 10.7 and later.

MDItemMBS.kMDItemCFBundleIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

If this item is a bundle, then this is the CFBundleIdentifier. A string

Some examples using this method:

MDItemMBS.kMDItemCity as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Identifies city of origin according to guidelines established by the provider. A string.

For example, "New York", "Cupertino", or "Toronto".

MDItemMBS.kMDItemCodecs as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The codecs used to encode/decode the media. An array of strings.

MDItemMBS.kMDItemColorSpace as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The color space model used by the document contents. For example, "RGB", "CMYK", "YUV", or "YCbCr". A string.

MDItemMBS.kMDItemComment as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

A comment related to the file. This differs from the Finder comment, kMDItemFinderComment. A string.

MDItemMBS.kMDItemComposer as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The composer of the music contained in the audio file. A string.

MDItemMBS.kMDItemContactKeywords as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

A list of contacts that are associated with this document, not including the authors. An array of strings.

MDItemMBS.kMDItemContentCreationDate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The date that the contents of the file were created. A date.

This is different than the file creation date. Its can be used to store when the file contents were first created, or first modified.

MDItemMBS.kMDItemContentModificationDate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The date and time that the contents of the file were last modified. A date.

This is not necessarily the file modification date.

MDItemMBS.kMDItemContentType as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

For example, a jpeg image file will have a value of public.jpeg/public.image/public.data. The value of this attribute is set by the MDImporter. Changes to this value are lost when the file attributes are next imported.

Some examples using this method:

MDItemMBS.kMDItemContentTypeTree as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Array of string

MDItemMBS.kMDItemContributors as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The entities responsible for making contributions to the content of the resource. An array of strings.

Examples of a contributor include a person, an organization or a service.

MDItemMBS.kMDItemCopyright as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The copyright owner of the file contents. A string.

MDItemMBS.kMDItemCountry as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The full, publishable name of the country or primary location where the intellectual property of the item was created, according to guidelines of the provider. A string.

MDItemMBS.kMDItemCoverage as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The extent or scope of the content of the resource. A string.

Coverage will typically include spatial location (a place name or geographic co-ordinates), temporal period (a period label, date, or date range) or jurisdiction (such as a named administrative entity).

Recommended best practice is to select a value from a controlled vocabulary, and that, where appropriate, named places or time periods be used in preference to numeric identifiers such as sets of co-ordinates or date ranges.

MDItemMBS.kMDItemCreator as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Application used to create the document content (e.g. "Word", "AppleWorks", etc.). A string.

MDItemMBS.kMDItemDateAdded as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

This is the date that the file was moved into the current location.
Not all files will have this attribute.
Not all file systems support this attribute.

Some examples using this method:

MDItemMBS.kMDItemDeliveryType as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The delivery type. Values are "Fast start" or "RTSP". A string.

MDItemMBS.kMDItemDescription as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

A description of the content of the resource. The description may include an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content. A string.

MDItemMBS.kMDItemDirector as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Director of the movie. A string. Requires Mac OS X 10.5.

MDItemMBS.kMDItemDisplayName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

The localized version of the file name. A string.

Some examples using this method:

MDItemMBS.kMDItemDownloadedDate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spotlight MBS MacOSX Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the item attribute constants.

Available in Mac OS X 10.7 and later.

Next items

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


The biggest plugin in space...