Windows: getting notification about power state changes
gelonida at gmail.com
Wed Oct 20 13:29:50 CEST 2010
Thanks a lot.
I'll look into it.
On 10/19/2010 11:30 AM, Tim Golden wrote:
> On 19/10/2010 10:06, Gelonida wrote:
>> I'd like to be notified about certain events and call certain python
>> functions depending on the event.
>> call a function:
>> - before (or after) the screen saver kicks in
. . .
>> - before (or after) the screen saver was stopped
> This should take you a certain amount of the way:
> I honestly don't know if the OS even knows when the monitor's
> switched on / when the disk is spun up.
> WMI has some power events:
More information about the Python-list