AliasInfoMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


💬 Ask a question or report a problem