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

2008-10-09 Thread Tobias A
Hello All, I recently made a clean install of XP on my office computer and then decided to upgrade to Python 2.6 from Py 2.4.x. Installation of Py 2.6 was smooth (and the multiprocessing package is neat) but when I tried to install pywin32 build 212 for 2.6 windows refused to run the installer.

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

2008-10-09 Thread venu madhav
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.Subject+"\n\n") f.write(message.Body+"

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

2008-10-09 Thread Mark Hammond
> Has anybody run into similiar problems before? Working with a COM > object that only works properly within PythonWin? Any way to run the > script from the command line or any other method without relying on the > PythonWin GUI while having the same effect as running it within > PythonWin? This w

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

2008-10-09 Thread jjpet
Hello all, I am trying to create an app. that talks to the Microsoft COM object called "wmplayer.ocx", which comes with the windows media SDK. Everything seems to be working fine.. except that it only works when I run it within PythonWin :) What happened when I drove the script from the co

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

2008-10-09 Thread Tim Roberts
venu madhav wrote: > Hi all, > How can I access the body of a mail in Outlook Inbox? I tried > various options like message.Body or message.Mesg etc. but didn't > work. I could get the subject of the mail using message.Subject > though. Show us the code you used. There are several ways to

Re: [python-win32] idle detection on system?

2008-10-09 Thread Len Remmerswaal
If your question is still current: Did you try pyHook? (http://www.cs.unc.edu/Research/assist/developer.shtml). I use it in a wxPython app: it provides a message pump. The pyHook callback just increments an integer variable. A timer comes around every second or so to see if the variable changed

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

2008-10-09 Thread Tim Golden
le dahut wrote: I've put a loop that wait for the service to be up with win32serviceutil.WaitForServiceStatus. Makes sense. Thanks for getting back. TJG ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/py

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

2008-10-09 Thread le dahut
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 the PDC. My probl

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

2008-10-09 Thread Tim Golden
venu madhav wrote: Hi all, How can I access the body of a mail in Outlook Inbox? I tried various options like message.Body or message.Mesg etc. but didn't work. I could get the subject of the mail using message.Subject though. If you haven't already, check out this page, which will get