Platforms to show: All Mac Windows Linux Cross-Platform

AliasInfoMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Alias MBS MacClassic Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
This item is deprecated and should no longer be used. You can use CFBookmarkMBS module instead.
A class for information about an alias.
Example
// select an alias file. use TrueChild so it's not resolved
dim f as FolderItem = SpecialFolder.Desktop.TrueChild("Development")

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

// show info
MsgBox "alias points to "+a.TargetName+" in path "+a.PathString+" of volume "+a.VolumeName

Only for Mac OS X.
This is for resource fork based alias files.
Newer OS X version use the newer bookmark format, so please use CFBookmarkMBS module there.

Info Flags

Constant Value Description
kAliasInfoFinderInfo 4 File type and creator are valid.
kAliasInfoFSInfo 32 FilesystemID and signature are valid.
kAliasInfoIDs 16 ParentDirID and nodeID are valid.
kAliasInfoIsDirectory 8 IsDirectory boolean is valid.
kAliasInfoNone 0 No valid info.
kAliasInfoTargetCreateDate 2 Target creation date is valid.
kAliasInfoVolumeCreateDate 1 Volume creation date is valid.
kAliasInfoVolumeFlags 64 VolumeIsBootVolume, volumeIsAutomounted, volumeIsEjectable and volumeHasPersistentFileIDs are valid.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Release notes


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


AESMBS   -   AppleRemoteMBS


The biggest plugin in space...