• 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: 10.6 Snow Leopard API for blocking screensaver/idle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.6 Snow Leopard API for blocking screensaver/idle?


  • Subject: Re: 10.6 Snow Leopard API for blocking screensaver/idle?
  • From: Ron Fleckner <email@hidden>
  • Date: Tue, 15 Feb 2011 09:41:57 +1100

On 15/02/2011, at 9:03 AM, Eric Wing wrote:

> Is there an API in Snow Leopard to suppress/block/prevent the
> screensaver from coming up? (I work with a lot of games/multimedia
> where I don't want the screen to go to screensaver and the input
> devices in use may not reset the idle counter.) For some reason I
> thought there might have been a new API for this, but I can't find it.
>
> Thanks,
> Eric
> --

Hi Eric,

I believe what you need is explained here:<http://developer.apple.com/library/mac/#qa/qa2004/qa1160.html>

The short answer: call UpdateSystemActivity(OverallAct); every 30 seconds with a timer.

Ron



_______________________________________________

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: 10.6 Snow Leopard API for blocking screensaver/idle?
      • From: Eric Wing <email@hidden>
References: 
 >10.6 Snow Leopard API for blocking screensaver/idle? (From: Eric Wing <email@hidden>)

  • Prev by Date: Re: 10.6 Snow Leopard API for blocking screensaver/idle?
  • Next by Date: Re: Blocking while a save panel sheet is showing
  • Previous by thread: Re: 10.6 Snow Leopard API for blocking screensaver/idle?
  • Next by thread: Re: 10.6 Snow Leopard API for blocking screensaver/idle?
  • Index(es):
    • Date
    • Thread