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

The module CFBookmarkMBS

module CFBookmarkMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
module Alias MBS MacOSXCF Plugin 11.3 Yes No No Yes, macOS only No
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.

Feedback, Comments & Corrections

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
MBS Xojo PDF Plugins