Just for the archives, I found the solution to this on CocoaDev (which I had missed in my original search). Unfortunately it uses private methods, but I wrote an NSColorPanel category to access the swatch colours that should fail safely if the private methods are changed. I've added the category to the CocoaDev page here:
http://www.cocoadev.com/index.pl?NSColorPanel Thanks anyway, Keith -- ORIGINAL MESSAGE -- > I can't seem to find anything on this in the docs for NSColorPanel, > NSColorList, or the "working with colors" > documentation, but is there any way to access the user-defined list of > colours in NSColorPanel? I mean the > custom colours that the user drags into the swatch at the bottom of the > colour panel for frequent use. I would > like to provide a contextual menu in my application that makes these colours > immediately available to the user, > so that the user doesn't always have to open the colour panel to access the > colours he or she has defined. > > Maybe I'm missing something obvious, but I would be very grateful for a point > in the right direction. > > Many thanks in advance and all the best, > Keith _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]