Re: [python-win32] Word document with columns and page break.

2011-07-08 Thread Tim Roberts
Little Guy wrote: > > I'm trying to create a Python script using win32com that creates a > Word 2003 document. This will become part of a little bigger script > for work. After the document opens up, it is split into two columns, > then text is pasted in, taking up both columns. After this is d

[python-win32] Accessing standard Mail-application

2011-07-08 Thread Steffen Frömer
Hi, i tried to access standard mail application to write a mail. I know the machanism with urllib, but there is no regular way to add attachments. Actually i do following: app = "Outlook" mailObj = win32com.client.gencache.EnsureDispatch("%s.Application" % app) mail = mailObj.CreateItem(win3

Re: [python-win32] Accessing standard Mail-application

2011-07-08 Thread Tim Roberts
Steffen Frömer wrote: > > i tried to access standard mail application to write a mail. > I know the machanism with urllib, but there is no regular way to add > attachments. How would you do that with urllib? > But there are Systems, which don't use MS Outlook. > Is there a way to access the stand

Re: [python-win32] Accessing standard Mail-application

2011-07-08 Thread Steffen Frömer
On 07/08/2011 10:16 PM, Tim Roberts wrote: Steffen Frömer wrote: i tried to access standard mail application to write a mail. I know the machanism with urllib, but there is no regular way to add attachments. How would you do that with urllib? I found this on web: import urllib, webbrowser, wi

Re: [python-win32] win32print.StartDocPrinter

2011-07-08 Thread Anthony Sterrett
I'm not sure how to use the wx.html.HtmlEasyPrinting module, I'm sorry to say. The documentation is less than helpful, although that may well be attributed to my newbishness over their lack of documentation. So suppose I decided to embed, say, Google Chrome into my program, to utilize its printing