Re: Double-clicking a screensaver
Re: Double-clicking a screensaver
- Subject: Re: Double-clicking a screensaver
- From: Sherm Pendley <email@hidden>
- Date: Sat, 31 Oct 2009 10:26:22 -0400
On Sat, Oct 31, 2009 at 10:19 AM, Gabriel Zachmann <email@hidden> 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@hidden)
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:
This email sent to email@hidden