Win32: Detecting when system is locked or sleeping

Tim Golden tim.golden at viacom-outdoor.co.uk
Mon May 22 10:44:03 EDT 2006


[rodmc]

| I have written an application which works perfectly when the 
| machine is
| operating under normal conditions, however when the screen becomes
| locked it imediately starts to fill up several hundred MB's of memory.
| 
| Is there a way to detect when the system is locked? 

This may not be exactly what you want, but hopefully
it's a starting point.

http://timgolden.me.uk/python/win32_how_do_i/see_if_my_workstation_is_lo
cked.html

TJG


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list