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. Advertisements

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,456
    Mike Treseler
    Nov 25, 2003
  2. Sam Su
    Replies:
    0
    Views:
    418
    Sam Su
    May 17, 2004
  3. Replies:
    8
    Views:
    645
    Mark Dickinson
    Apr 17, 2008
  4. Replies:
    4
    Views:
    772
  5. _Who
    Replies:
    3
    Views:
    438
  6. Alfonso Baz

    Power up state

    Alfonso Baz, Jun 21, 2009, in forum: VHDL
    Replies:
    2
    Views:
    864
    Alfonso Baz
    Jun 23, 2009
  7. Christophe Peillet

    Dynamic control state changes lost on Postback

    Christophe Peillet, Jan 4, 2006, in forum: ASP .Net Building Controls
    Replies:
    10
    Views:
    785
    Teemu Keiski
    Jan 5, 2006
  8. Ralph Shnelvar
    Replies:
    2
    Views:
    162
    Charles Roper
    Sep 24, 2010
Loading...