• 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: Exit screen saver programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exit screen saver programmatically?


  • Subject: Re: Exit screen saver programmatically?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 23 Sep 2009 16:45:40 -0600


On Sep 23, 2009, at 4:39 PM, Gabriel Zachmann wrote:

Does anyone know whether it is possible to exit a screensaver programmatically, i.e., from within the screensaver code,
but *without* exiting the System Preferences, if the screensaver was run from System Preferences?

It's possible; you'd have to discriminate based on the bundle identifier returned by the main NSBundle. BTW, what exactly are you trying to accomplish? Quitting the screen saver engine programmatically can open a security hole, since it's quite possible that the computer was locked for a reason.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: 
 >Exit screen saver programmatically? (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: CoreRecipes Sample Code Data Model Error
  • Next by Date: Re: app delegate +initialize
  • Previous by thread: Exit screen saver programmatically?
  • Next by thread: Re: Exit screen saver programmatically?
  • Index(es):
    • Date
    • Thread