Platforms to show: All Mac Windows Linux Cross-Platform

Back to AliasInfoMBS class.

AliasInfoMBS.FileCreator as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The file creator code.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "FileCreator: "+a.FileCreator // shows Mac OS creator code like GKON

(Read only property)

AliasInfoMBS.FilesystemID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The file system ID of the target file system.

(Read only property)

AliasInfoMBS.FileType as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The file type code.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "FileType: "+a.FileType // shows Mac OS creator code like JPEG

(Read only property)

AliasInfoMBS.Flags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Which properties do have valid content.

some contants:
AliasInfoNone= &h00000000no valid info
AliasInfoVolumeCreateDate= &h00000001volume creation date is valid
AliasInfoTargetCreateDate= &h00000002target creation date is valid
AliasInfoFinderInfo= &h00000004file type and creator are valid
AliasInfoIsDirectory= &h00000008isDirectory boolean is valid
AliasInfoIDs= &h00000010parentDirID and nodeID are valid
AliasInfoFSInfo= &h00000020filesystemID and signature are valid
AliasInfoVolumeFlags= &h00000040volumeIsBootVolume, volumeIsAutomounted, volumeIsEjectable and volumeHasPersistentFileIDs are valid
(Read only property)

AliasInfoMBS.IsDirectory as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether the target item is a directory or not.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "IsDirectory: "+str(a.IsDirectory)

(Read only property)

AliasInfoMBS.LastError as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 13.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The last error code.

(Read only property)

AliasInfoMBS.NodeID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The node ID of the target file.

(Read only property)

AliasInfoMBS.ParentDirID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The Directory ID of the parent directory.

(Read only property)

AliasInfoMBS.PathString as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The POSIX path to target.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "TargetName: "+a.PathString // shows target file path

(Read only property)

AliasInfoMBS.Signature as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The signature of the target file system.

(Read only property)

AliasInfoMBS.TargetCreateDate as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Target file creation date.

Value should be in absolute seconds.
(Read only property)

AliasInfoMBS.TargetName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The name of the target item.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "TargetName: "+a.TargetName // shows target file name

(Read only property)

AliasInfoMBS.VolumeCreateDate as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The creation date of the target volume.

(Read only property)

AliasInfoMBS.VolumeHasPersistentFileIDs as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The target volume has persistent file IDs, so the NodeID and parentDirID are useable.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "VolumeHasPersistentFileIDs: "+str(a.VolumeHasPersistentFileIDs)

(Read only property)

AliasInfoMBS.VolumeIsAutomounted as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether the volume is automounted.

// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "VolumeIsAutomounted: "+str(a.VolumeIsAutomounted)
(Read only property)

AliasInfoMBS.VolumeIsBootVolume as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether the target volume is bootable.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "VolumeIsBootVolume: "+str(a.VolumeIsBootVolume)

(Read only property)

AliasInfoMBS.VolumeIsEjectable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether the target file is on an ejectable volume.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "VolumeIsEjectable: "+str(a.VolumeIsEjectable)

(Read only property)

AliasInfoMBS.VolumeName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The name of the volume the target resides on.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("IMG_0793.jpg")

// get alias info
dim a as AliasInfoMBS = f.AliasInfoMBS

// show info
MsgBox "VolumeName: "+a.VolumeName // shows target volume name

(Read only property)

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


The biggest plugin in space...