Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Double-clicking a screensaver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double-clicking a screensaver



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

References: 
 >Double-clicking a screensaver (From: Gabriel Zachmann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.