Platforms to show: All Mac Windows Linux Cross-Platform

Back to LaunchServicesItemInfoMBS class.

LaunchServicesItemInfoMBS.AppIsScriptable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the application can be scripted.

(Read only property)

LaunchServicesItemInfoMBS.AppPrefersClassic as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Item is an application that can run either natively or in the Classic emulation environment, but prefers to be launched in the Classic environment.

This flag is valid only when kLSItemInfoIsNativeApp is set.
(Read only property)

LaunchServicesItemInfoMBS.AppPrefersNative as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Item is an application that can run either natively or in the Classic emulation environment, but prefers to be launched natively.

This flag is valid only when kLSItemInfoIsNativeApp is set.
(Read only property)

LaunchServicesItemInfoMBS.Extension as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The extension for the folderitem.

You need to specify the kLSRequestExtension flag to get this information.
(Read only property)

LaunchServicesItemInfoMBS.ExtensionIsHidden as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
whether the folderitem has a hidden extension.

(Read only property)

LaunchServicesItemInfoMBS.IconFilename as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The optional filename string for the icon of this application.

This property is not be used on 64bit Mac targets.
(Read only property)

LaunchServicesItemInfoMBS.IsAliasFile as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the folderitem is an alias file (includes sym links)

(Read only property)

LaunchServicesItemInfoMBS.IsApplication as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The folderitem is a Single-file or packaged application.
Example
dim l as LaunchServicesItemInfoMBS
dim f as FolderItem

f=ApplicationsFolderMBS(0).Child("Mail.app")
l=f.LaunchServicesItemInfoMBS(-1)

if l.IsApplication then
MsgBox "Is an application!"
end if

This property is filled when kLSRequestBasicFlagsOnly is requested.
(Read only property)

LaunchServicesItemInfoMBS.IsClassicApp as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The folderitem is a CFM Classic application.

(Read only property)

LaunchServicesItemInfoMBS.IsContainer as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The fodleritem is a directory (includes packages) or a volume.

(Read only property)

LaunchServicesItemInfoMBS.IsInvisible as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The folderitem is invisible.

Does not include '.' files or '.hidden' entries.
This property is filled when kLSRequestBasicFlagsOnly is requested.
(Read only property)

LaunchServicesItemInfoMBS.IsNativeApp as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The application is a Carbon or Cocoa native application.

(Read only property)

LaunchServicesItemInfoMBS.IsPackage as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
whether the folderitem is an Application, document, or bundle package.
Example
dim l as LaunchServicesItemInfoMBS
dim f as FolderItem

f=SpecialFolder.Applications.Child("Mail.app")
l=f.LaunchServicesItemInfoMBS(-1)

if l.IsPackage then
MsgBox "Is a package!"
end if

The item is a packaged directory.
This property is filled when kLSRequestBasicFlagsOnly is requested.
(Read only property)

LaunchServicesItemInfoMBS.IsPlainFile as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
None of the other attributes is true.

The item is not a directory, volume, or symlink.
This property is filled when kLSRequestBasicFlagsOnly is requested.
(Read only property)

LaunchServicesItemInfoMBS.IsSymlink as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The folderitem is only an UNIX symbolic link.

(Read only property)

LaunchServicesItemInfoMBS.IsVolume as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The folderitem is a volume.

(Read only property)

LaunchServicesItemInfoMBS.KindID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The kind ID of this folderitem.

This property is not be used on 64bit Mac targets.
(Read only property)

LaunchServicesItemInfoMBS.MacCreator as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The Mac OS creator code.
Example
dim f as FolderItem = SpecialFolder.Applications.Child("Firefox.app")

dim l As LaunchServicesItemInfoMBS = f.LaunchServicesItemInfoMBS(&h02)

if l <> nil Then
MsgBox l.MacCreator // shows "MOZB"
end

You need to specify the kLSRequestTypeCreator flag to get this information.
(Read only property)

LaunchServicesItemInfoMBS.MacType as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The Mac OS type code.

You need to specify the kLSRequestTypeCreator flag to get this information.
(Read only property)

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


The biggest plugin in space...