Re: [python-win32] NT service and login prompt

2008-10-10 Thread Tim Golden
le dahut wrote: I've put a loop that wait for the service to be up with win32serviceutil.WaitForServiceStatus. Tim Golden a écrit : le dahut wrote: Yes, I was trying to intercept user's logon. I've done it using userinit registry key, a python NT service and a python service running on th

Re: [python-win32] pywin32-212 (Python 2.6): cannot run win32 installer on XP (SP3) [RESOLVED]

2008-10-10 Thread Tobias A
Hello again All, This has been resolved. After the re-install of XP i only installed my old copy of VC6. Hanni suggested that I use the setup.py script to build a custom copy. The README suggested that I should install a later copy of VC before building. I installed VC9 (express) and thought I

Re: [python-win32] Problem in accessing the Message body of Outlook Inbox.

2008-10-10 Thread Tim Roberts
venu madhav wrote: > > Here is the code: > > rom win32com.client import Dispatch > > session = Dispatch("MAPI.session") > session.Logon('outlook') # MAPI profile name > inbox = session.Inbox > for i in range(inbox.Messages.Count): > message = inbox.Messages.Item(i + 1) > f.write(message.Su

Re: [python-win32] Please help, run into a COM object issue using the windows media SDK, thanks!

2008-10-10 Thread jjpet
Thanks Mark! Does PythonWin (or wxPython) provide any way to drive a script as if running it in the PythonWin GUI? --- On Thu, 10/9/08, Mark Hammond <[EMAIL PROTECTED]> wrote: > From: Mark Hammond <[EMAIL PROTECTED]> > Subject: RE: [python-win32] Please help, run into a COM object issue using

Re: [python-win32] Please help, run into a COM object issue using the windows media SDK, thanks!

2008-10-10 Thread Tim Roberts
jjpet wrote: > Thanks Mark! > > Does PythonWin (or wxPython) provide any way to drive a script as if running > it in the PythonWin GUI? > The key, I believe, is that you need a message loop. A standard console app doesn't have one, so it waits forever for a response from a message. Any of th