Platforms to show: All Mac Windows Linux Cross-Platform

Back to MDItemMBS class.

Previous items

MDItemMBS.kMDItemRecordingDate 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 recording date of the song or composition. A date.

This is in contrast to kMDItemContentCreationDate which, could indicate the creation date of an edited or 'mastered' version of the original art.

MDItemMBS.kMDItemRecordingYear 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.

Indicates the year the item was recorded. For example, 1964, 2003, etc. A number.

MDItemMBS.kMDItemRedEyeOnOff 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.

Indicates if red-eye reduction was used to take the picture. A boolean.

Possible values are 0 (no red-eye reduction mode or unknown) and 1 (red-eye reduction used).

MDItemMBS.kMDItemResolutionHeightDPI 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.

Resolution height of this image in DPI. A number.

MDItemMBS.kMDItemResolutionWidthDPI 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.

Resolution width, in DPI, of this image. A number.

MDItemMBS.kMDItemRights 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.

Provides a link to information about rights held in and over the resource. A string.

Contains a rights management statement for the resource, or reference a service providing such information. Rights information often encompasses Intellectual Property Rights (IPR), Copyright, and various Property Rights.

If this attribute is absent, no assumptions can be made about the status of these and other rights with respect to the resource.

MDItemMBS.kMDItemSecurityMethod 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 security or encryption method used for the file. A number.

MDItemMBS.kMDItemSpeed 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 speed of the item, in kilometers per hour. A number.

Requires Mac OS X 10.5

MDItemMBS.kMDItemStarRating 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.

User rating of this item. For example, the stars rating of an iTunes track. A number.

MDItemMBS.kMDItemStateOrProvince 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 the province or state of origin according to guidelines established by the provider. For example, "CA", "Ontario", or "Sussex". A string.

MDItemMBS.kMDItemStreamable 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.

Whether the content is prepared for streaming. A boolean.

MDItemMBS.kMDItemSubject 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.

Subject of the this item. Type is a string.

MDItemMBS.kMDItemSupportFileType 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 strings

MDItemMBS.kMDItemTempo 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 float value that specifies the beats per minute of the music contained in the audio file. A number.

MDItemMBS.kMDItemTextContent 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.

Contains a text representation of the content of the document. Data in multiple fields should be combined using a whitespace character as a separator. A string.

An application's Spotlight importer provides the content of this attribute. Applications can search for values in this attribute, but are not able to read the content of this attribute directly.

Some examples using this method:

MDItemMBS.kMDItemTheme 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.

Theme of the this item. Type is a string.

MDItemMBS.kMDItemTimeSignature 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 time signature of the musical composition contained in the audio/MIDI file. For example: "4/4", "7/8". A string.

MDItemMBS.kMDItemTimestamp 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 timestamp on the item. This generally is used to indicate the time at which the event captured by the item took place.

Mac OS X 10.5

MDItemMBS.kMDItemTitle 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 of the file. For example, this could be the title of a document, the name of an song, or the subject of an email message. A string.

MDItemMBS.kMDItemTotalBitRate 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 total bit rate, audio and video combined, of the media. A number.

MDItemMBS.kMDItemURL 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.

URL of the item.

Mac OS X 10.5

MDItemMBS.kMDItemVersion 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 version number of this file. A string

MDItemMBS.kMDItemVideoBitRate 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 video bit rate. A number.

MDItemMBS.kMDItemWhereFroms 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.
Example
dim file as FolderItem = DownloadsFolderMBS(0).Child("test.html")
dim item as new MDItemMBS(file)
dim value as Variant = item.GetAttribute(MDItemMBS.kMDItemWhereFroms)

if value <> nil then
dim values() as Variant = value
dim Link as String = values(0)
MsgBox link
end if

Describes where the file was obtained from. An array of strings.

For example, a downloaded file may refer to the URL, files received by email may indicate the sender's email address, message subject, etc.

MDItemMBS.kMDItemWhiteBalance 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 white balance setting used to acquire the document contents. Possible values are 0 (auto white balance) and 1 (manual). A number.

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...