Patrick Li wrote:
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.
To a limited extent you can do this with WMI. Have a look
here for an example:
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:
From: Mark Hammond [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 18, 2007 5:09 PM
To: MACKEITH Andrew; python-win32@python.org
Subject: RE: [python-win32] Compiling win32 extensions
Oops - my mistake! Please see pywintypes.h, where you will find
a