[python-win32] Detecting user (in)activity and changing process prioritization?

python at bdurham.com python at bdurham.com
Mon Oct 31 21:01:45 CET 2011


Is there a way to detect user (in)activity so that a program I
have running in the background might use more system resources
when a user isn't actively using their system and when user
activity is detected, run in a more resource friendly mode?

On a related note, is it possible to change the priority of a
running process, or can the priority of a Windows process only be
set when the process is launched?

Thanks,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20111031/91a98f80/attachment.html>


More information about the python-win32 mailing list