• 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: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 14 Feb 2011 23:38:30 +0100

Le 14 févr. 2011 à 23:03, Eric Wing a écrit :

> Is there an API in Snow Leopard to suppress/block/prevent the
> screensaver from coming up?

The new API is supposed to be IOPMAssertionCreateWithName() with kIOPMAssertionTypeNoDisplaySleep, but AFAIK, it does not prevent screen saver (at least it wasn't the last time I try).
So, I think you're stuck with the UpdateSystemActivity(UsrActivity) function.

> (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

-- Jean-Daniel




_______________________________________________

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: Nathan Sims <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: 10.6 Snow Leopard API for blocking screensaver/idle?
  • 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