• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Double-clicking a screensaver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: Double-clicking a screensaver
  • Next by Date: Re: Double-clicking a screensaver
  • Previous by thread: Double-clicking a screensaver
  • Next by thread: Re: Double-clicking a screensaver
  • Index(es):
    • Date
    • Thread