Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Kicking" the screensaver/display timers



On Fri, Jul 18, 2008 at 05:24:45PM -0600, Shayne Wissler wrote:
> I need an API call/approach for "kicking" the the
> display-sleep/screensaver timers, as if the user had moved the mouse
> or pressed a key. I need a program to be able to wake up the display
> and/or stop the screensaver, without having the user interact with the
> mouse or keyboard. (E.g., for an app used in a classroom situation to
> broadcast a message to a Mac hanging on a wall that happened to be in
> sleep mode).

UpdateSystemActivity( IdleActivity );

-- 
Steve Checkoway


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >"Kicking" the screensaver/display timers (From: "Shayne Wissler" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.