Re: [python-win32] win32tracutil traceback on Vista

2007-11-19 Thread TK Soh
On Nov 19, 2007 12:28 PM, Mark Hammond <[EMAIL PROTECTED]> wrote: > I'm afraid I can't suggest a work-around (other than the obvious "catch the > AttributeError"), but would be happy to look at a patch that adds such an > attribute. Unfortunately I don't currently meet the minimum requirement to

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

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 c

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 t

[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 runnin

Re: [python-win32] want to leave DOS console at any target dir

2007-11-19 Thread bob gailer
Charlie wrote: > When launching a python script from a DOS console, > I can not find a way to leave the DOS console at a working directory > other than the initial working directory. > Why do you want to do this? Might there be other approaches? __

Re: [python-win32] win32tracutil traceback on Vista

2007-11-19 Thread TK Soh
On Nov 19, 2007 10:31 AM, Mark Hammond <[EMAIL PROTECTED]> wrote: > Yes - a user running without elevated credentials can't create objects in > the "Global\\" namespace under Vista - which is exactly what win32trace > tries to do. This has been fixed in CVS, and I really hope to get a new > build

Re: [python-win32] win32tracutil traceback on Vista

2007-11-19 Thread Mark Hammond
I'm afraid I can't suggest a work-around (other than the obvious "catch the AttributeError"), but would be happy to look at a patch that adds such an attribute. Mark > -Original Message- > From: TK Soh [mailto:[EMAIL PROTECTED] > Sent: Monday, 19 November 2007 11:06 PM > To: Mark Hammon

Re: [python-win32] win32tracutil traceback on Vista

2007-11-19 Thread TK Soh
On Nov 19, 2007 7:56 PM, Mark Hammond <[EMAIL PROTECTED]> wrote: > > While we are here, is it possible to add a 'closed' attribute to > > win32trace also, as I mention in an earlier post to the list? > > Sure - although I'm afraid your earlier post has been lost (by me). > Adding a patch to the pyw

Re: [python-win32] win32tracutil traceback on Vista

2007-11-19 Thread Mark Hammond
> While we are here, is it possible to add a 'closed' attribute to > win32trace also, as I mention in an earlier post to the list? Sure - although I'm afraid your earlier post has been lost (by me). Adding a patch to the pywin32 project at sourceforge is probably the best way to ensure that doe

Re: [python-win32] win32tracutil traceback on Vista

2007-11-19 Thread TK Soh
On Nov 19, 2007 7:49 PM, TK Soh <[EMAIL PROTECTED]> wrote: > On Nov 19, 2007 10:31 AM, Mark Hammond <[EMAIL PROTECTED]> wrote: > > Yes - a user running without elevated credentials can't create objects in > > the "Global\\" namespace under Vista - which is exactly what win32trace > > tries to do.

Re: [python-win32] want to leave DOS console at any target dir

2007-11-19 Thread Mark Tolonen
> Date: Mon, 19 Nov 2007 02:18:12 + (UTC) > From: Charlie <[EMAIL PROTECTED]> > Subject: [python-win32] want to leave DOS console at any target dir > To: python-win32@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > When launching a python script fro