• 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: unsleep the display programatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unsleep the display programatically?


  • Subject: Re: unsleep the display programatically?
  • From: David LeBer <email@hidden>
  • Date: Sun, 18 Oct 2009 21:36:57 -0400


On 2009-10-18, at 9:30 PM, jon wrote:

Hi David, that would not work, because the display does need to sleep, it would be working a long time, and at night.... but needs to let people know that it is done. i have an alarm go off, but people can know it has gone off much better from a distance if suddenly the room is filled with light from the display waking up.

surely there is a method for this? wouldn't there be?

I don't know, and haven't tried, but what happens if you call:

	UpdateSystemActivity(UsrActivity);



Jon.

On Oct 18, 2009, at 7:25 PM, David LeBer wrote:

On 2009-10-18, at 9:15 PM, jon wrote:

no, not the machine sleep, just the display sleep... the situation would be a process that runs longer than the current display sleep time, which then pops up an alert, which no one can see, since the display is asleep...

Jon.

On Oct 18, 2009, at 7:12 PM, Mark Ritchie wrote:

Hrm... In what situation would you want to do such a thing?
And what if the user has set security to require a password after being in sleep?

Maybe prevent display sleep while your process is running?

<http://developer.apple.com/mac/library/qa/qa2004/qa1340.html>

;david


;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________

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: unsleep the display programatically?
      • From: Mark Ritchie <email@hidden>
    • Re: unsleep the display programatically?
      • From: jon <email@hidden>
References: 
 >unsleep the display programatically? (From: jon <email@hidden>)
 >Re: unsleep the display programatically? (From: Mark Ritchie <email@hidden>)
 >Re: unsleep the display programatically? (From: jon <email@hidden>)
 >Re: unsleep the display programatically? (From: David LeBer <email@hidden>)
 >Re: unsleep the display programatically? (From: jon <email@hidden>)

  • Prev by Date: Re: unsleep the display programatically?
  • Next by Date: Re: unsleep the display programatically?
  • Previous by thread: Re: unsleep the display programatically?
  • Next by thread: Re: unsleep the display programatically?
  • Index(es):
    • Date
    • Thread