Patrick,

See if this helps.
http://www.mindtrove.info/articles/pyhook.html

I think it's somewhat similar to Tim Robert's suggestion, just
packaged differently.

I haven't tried it myself- so let us know how it works for your situation.


Message: 7
Date: Mon, 19 Nov 2007 15:15:33 -0800
From: "Patrick Li" <[EMAIL PROTECTED]>
Subject: [python-win32] Detect when the user launches or closes a
       program?

Hi,

I am trying to write a program that will perform some operation on the
user's computer when the user launches a particular executable(s) on the
computer and when the user closes them.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to