Re: [python-win32] Detect when the user launches or closes a program?

2007-11-20 Thread Tim Golden
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:

Re: [python-win32] Detect when the user launches or closes a

2007-11-20 Thread Tony Cappellini
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:

Re: [python-win32] Compiling win32 extensions

2007-11-20 Thread MACKEITH Andrew
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