Windows: getting notification about power state changes

Discussion in 'Python' started by Gelonida, Oct 19, 2010.

  1. Gelonida

    Gelonida Guest

    Hi,


    I wondered how I could achieve this.

    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 monitor is switched off
    - before (or after) the hard disk is switched off
    - before the PC enters stand by mode

    - after the PC left stand by mode
    - before (or after) the PC's hard disk was powered up
    - before (or after) the monitor was switched on
    - before (or after) the screen saver was stopped


    Thanks a lot for any pointers
     
    Gelonida, Oct 19, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Weng Tianxiang
    Replies:
    7
    Views:
    1,147
    Mike Treseler
    Nov 25, 2003
  2. Replies:
    8
    Views:
    386
    Mark Dickinson
    Apr 17, 2008
  3. Replies:
    4
    Views:
    647
  4. Alfonso Baz

    Power up state

    Alfonso Baz, Jun 21, 2009, in forum: VHDL
    Replies:
    2
    Views:
    632
    Alfonso Baz
    Jun 23, 2009
  5. Ralph Shnelvar
    Replies:
    2
    Views:
    101
    Charles Roper
    Sep 24, 2010
Loading...

Share This Page