MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

AliasInfoMBS class

class, Alias, MBS Mac Plugin (Alias), class AliasInfoMBS,
Plugin version: 5.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: 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
Notes:
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 which use this class:


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


AFPVolumesMBS   -   AppleRemoteMBS




Links
MBS Realbasic tutorial videos