Re: [python-win32] problem list process

2008-10-22 Thread Josu Rodriguez
ok, resolved win32pdh.EnumObjects(None, None, 0, 1) the code ok for Refresh is ... def P_buscar_proceso(self,proceso, > > intentos): > # P_buscar_proceso(self,proceso,intentos=1): > # Se obtiene la lista de procesos y se mira si existe, > # Si intento no se define, solo

[python-win32] problem list process

2008-10-22 Thread wowberk
Hello, I have a problem with this code to list the processes. How do I remove the reference to the subject? def P_buscar_proceso(self,proceso,intentos): # P_buscar_proceso(self,proceso,intentos=1): # Se obtiene la lista de procesos y se mira si existe, # Si intento no se

Re: [python-win32] Interacting with the desktop as a service onVista

2008-10-22 Thread Matt Herbert (matherbe)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Tim Roberts > Sent: Wednesday, October 22, 2008 1:48 PM > To: Python-Win32 List > Subject: Re: [python-win32] Interacting with the desktop as a > service onVista > > Matt Herbert (matherbe) wrot

Re: [python-win32] Interacting with the desktop as a service onVista

2008-10-22 Thread Tim Roberts
Matt Herbert (matherbe) wrote: > My situation is I have a python service which runs 24/7. Occasionally > The service needs to access windows on the desktop. That is, it needs to > enumerate all the windows, find a specific pop-up, and press a button. > Wow, this sounds like an incredible hack i

Re: [python-win32] Interacting with the desktop as a service onVista

2008-10-22 Thread Steven James
I don't know if this will help, but have you seen this article? http://msdn.microsoft.com/en-us/library/ms683502.aspx It says that services cannot interact with desktop users as of Windows Vista. I guess that's the official word. As with all issues, however, there are ways around it. This is a h

Re: [python-win32] ByRef params not working with PythonCOM

2008-10-22 Thread Thomas Heller
Greg Antal schrieb: > Hi everybody. > > It's been nearly 2 weeks since I posted this, and nobody has responded. If > anybody has any ideas, I'd be glad to hear them. I'll provide more info on > anything anybody thinks is relevant. Well, a totally different idea would be to try out comtypes wi

Re: [python-win32] ByRef params not working with PythonCOM

2008-10-22 Thread Greg Antal
Hi everybody. It's been nearly 2 weeks since I posted this, and nobody has responded.  If anybody has any ideas, I'd be glad to hear them.  I'll provide more info on anything anybody thinks is relevant. Thanks, Greg Antal Gregory W. Antal Senior Technical Advisor ATA Engineering, Inc. 11995

Re: [python-win32] Interacting with the desktop as a service onVista

2008-10-22 Thread Matt Herbert (matherbe)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Tim Golden > Sent: Wednesday, October 22, 2008 10:21 AM > Cc: python-win32@python.org > Subject: Re: [python-win32] Interacting with the desktop as a > service onVista > > Matt Herbert (matherbe)

Re: [python-win32] Interacting with the desktop as a service on Vista

2008-10-22 Thread Tim Golden
Matt Herbert (matherbe) wrote: So I have a service that needs to interact with the desktop on a Vista machine. I've read multiple articles about Vista's updated security and it's restrictions on services. So I realize that in order for the service to interact with desktop, I'm going to need to cr