On Sat, Oct 31, 2009 at 10:19 AM, Gabriel Zachmann <[email protected]> wrote: > I think I've seen screen savers that copy themselves to > ~/Library/Screensavers by double-clicking on the .saver file (that is still > in the DMG). > > Could someone tell me how I can make my screensaver have this capability as > well?
The system's screen saver app registered .saver as a document type, so that behavior happens automagically. You don't need to do anything besides create a normal .saver plugin from the standard template. If you want similar behavior from a screen saver app of your own, you can do the same thing - register a filename extension for your plugins, and copy them to your ~/Library/Application Support folder when the user tries to open them. sherm-- -- Cocoa programming in Perl: http://camelbones.sourceforge.net _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
