On Fri, May 15, 2015, at 02:37 PM, Gary Ash wrote:
> I’m trying to programmatically add a link to an app to Finder’s toolbar.

Programmatic customization of the Finder toolbar is not supported.

If you are not in the MAS, you can use LSSharedFileList and
Authorization Services APIs to place items in the Favorites list.

> I’ve found that dragging  an app onto the toolbar works like a charm and
> adds a dictionary entry to NSToolbar Configuration Browser->TB Item
> Plists in the format:

Reaching into another app's Preferences usually doesn't work (unless the
other app is expecting it), and is a sandbox violation.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to