pyt...@bdurham.com wrote:
> 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?

Changing the priority is exactly the way to do this.

http://code.activestate.com/recipes/496767/

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to