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

The module CFBookmarkMBS

module CFBookmarkMBS
module, Alias, MBS MacOSXCF Plugin (CFNew), module CFBookmarkMBS,
Plugin version: 11.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The module for Mac OS X bookmark/alias functions.
Notes:
Bookmark data strings have no text encoding. If you use ConvertEncoding on them, you destroy them.
Available with Mac OS X 10.6 or newer.
For older systems, please use MacAliasMBS class.

Creation options.

Constant Value Description
kCreationMinimalBookmarkMask 512 Creates a bookmark with "less" information, which may be smaller but still be able to resolve in certain ways.
kCreationPreferFileIDResolutionMask 256 At resolution time, this alias will prefer resolving by the embedded fileID to the path.
kCreationSecurityScopeAllowOnlyReadAccess 4096 Mac OS X 10.7.3 and later, if used with kCFURLBookmarkCreationWithSecurityScope, at resolution time only read access to the resource will be granted.
kCreationSuitableForBookmarkFile 1024 Includes in the created bookmark those properties which are needed for a bookmark/alias file.
kCreationWithSecurityScope 2048 Mac OS X 10.7.3 and later, include information in the bookmark data which allows the same sandboxed process to access the resource after being relaunched.

Resolving options.

Constant Value Description
kResolutionWithoutMountingMask 512 Don't mount a volume during bookmark resolution.
kResolutionWithoutUIMask 256 Don't perform any UI during bookmark resolution.
kResolutionWithSecurityScope 1024 Mac OS X 10.7.3 and later, extract the security scope included at creation time to provide the ability to access the resource.

Some examples which use this module:


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




Links
Kreativ.Nickenich.com