Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

AliasInfoMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Alias MBS MacClassic Plugin 5.0 Yes No No Yes, macOS only No
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.

Feedback, Comments & Corrections

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 MacClassic Plugin.


AESMBS   -   AppleRemoteMBS




Links
MBS FileMaker blog