Re: [python-win32] makepy.py excel-libs

2006-07-20 Thread guy lateur
Title: makepy.py excel-libs Looking at your VBA code, it seems like Weight is a property of Border, not of MajorGridlines. You may want to try MajorGridlines.Border.Weight = ... best regards, g From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wolf, Matthias ALRT/ELDSent:

[python-win32] Outlook COM: how to create a MailItem from a .msg file

2005-07-08 Thread Guy Lateur
Yes! I finally got it to work. I've written a _vbscript_ which I'll call from python. It uses Outlook.Redemption's SafeMailItem. No need to use IMAP or whatever services.Only weird thing is it doesn't put the msg in the Inbox, as I intended, but in the Drafts folder. Well, never mind that,

[python-win32] Outlook COM: how to create a MailItem from a .msg file

2005-07-08 Thread Guy Lateur
python version: import win32com.client myOL = win32com.client.Dispatch("Outlook.Application") myNS = myOL.GetNamespace("MAPI")sItem = win32com.client.Dispatch("Redemption.SafeMailItem") myDestBox = myNS.GetDefaultFolder(6)oItem = myDestBox.Items.Add(0) sItem.Item =

[python-win32] Outlook COM: how to create a MailItem from a .msg file

2005-06-30 Thread Guy Lateur
Hi all, I've been writing some code to move some datainto and out ofOutlook (2003 + Exchange 2003). I have some email .msg files on our file server, and I can't seem to get them back into the Outlook object I need, ie a MailItem. I've tried to useApp.CopyFile() to (temporarily) put the

[python-win32] Outlook COM: how to create a MailItem from a .msg file

2005-06-30 Thread guy lateur
Hi all, I've been writing some code to move some datainto and out ofOutlook (2003 + Exchange 2003). I have some email .msg files on our file server, and I can't seem to get them back into the Outlook object I need, ie a MailItem. I've tried to useApp.CopyFile() to (temporarily) put the