Platforms to show: All Mac Windows Linux Cross-Platform

Back to MDItemMBS class.

MDItemMBS.DisplayName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The localized version of the file name.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.DisplayName // shows "Schreibtisch"

This is a shortcut for AttributeString(kMDItemDisplayName).
(Read only property)

MDItemMBS.FSName as String

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

MsgBox item.FSName // shows "Desktop"

This is a shortcut for AttributeString(kMDItemFSName).
(Read only property)

MDItemMBS.FSSize as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The size, in bytes, of the file on disk.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox str(item.FSSize) // shows 0

This is a shortcut for AttributeString(kMDItemFSSize).
(Read only property)

MDItemMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The internal reference to the item.

(Read and Write property)

MDItemMBS.Path as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The complete path to the file.
Example
dim item as new MDItemMBS(SpecialFolder.Desktop)

MsgBox item.path // shows "/Users/cs/Desktop"

This is a shortcut for AttributeString(kMDItemPath).
(Read only property)

MDItemMBS.Tag as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Spotlight MBS MacOSX Plugin 11.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The attached value.

You can use this property as you like.
(Read and Write property)

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


The biggest plugin in space...