Hello, I know how to create an application and instruct the system about a custom type and its use by using both CFBundleDocumentTypes and UTExportedTypeDeclarations in Info.plist.
My problem: this type is not actually defined and used by an application, but by a preference pane. It seems that putting the proper entries in the preference pane's Info.plist doesn't work (or am I missing something ?). A possible solution I would like to avoid: make my preference pane scriptable and write a helper application, that defines the type and opens 'System Preferences' with the correct pane, and then do the dirt work. So I'm thinking: it must be possible to do the equivalent of using CFBundleDocumentTypes and UTExportedTypeDeclarations programmatically in my preference pane itself right ? That way, the first time the preference pane is opened, my custom time will be "registered" (but: would that be persistent across sessions ?). Can anyone provide some sample code that would do something like that ? I know some Cocoa, but I fear that's lower level, and CF is still black magick to me. Thank you ! _______________________________________________ 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 arch...@mail-archive.com