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.
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+"
> 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
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
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
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
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
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
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