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:

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

2007-11-19 Thread Patrick Li
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. One way to achieve this is by polling the process table periodically and checking to see if one of the

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

2007-11-19 Thread Tim Roberts
Patrick Li wrote: 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. One way to achieve this is by polling the process table periodically and checking to see

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

2007-11-19 Thread bob gailer
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. One way to achieve this is by polling the process table periodically and checking

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

2007-11-19 Thread Patrick Li
On 11/19/07, bob gailer [EMAIL PROTECTED] wrote: 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. One way to achieve this is