Re: [python-win32] Catching Send To in Office

2011-03-23 Thread Mike Driscoll
On 1:59 PM, Tim Roberts wrote: Mike Driscoll wrote: Does anyone know of a way to catch the Send To Mail Recipient in Microsoft Word or Excel? I want to redirect that to our web mail somehow. Well, let's brainstorm for a moment. That link fires up the default mail provider for your computer,

Re: [python-win32] Catching Send To in Office

2011-03-23 Thread Vernon Cole
One of the executives where I used to work actually made use of the ¨send to feature in Word. The resulting bloat that appeared was appalling, and IIRC the recipient had to have Word installed to read the mail, when she finally imported it. Perhaps later versions of Word do a better job. Our

[python-win32] Set html in outlook mail

2011-03-23 Thread Luca
Hi everybody, I’m trying to send an email via outlook and everything works fine with the following code: obj = win32com.client.Dispatch(Outlook.Application) for mail in Lmail: newMail = obj.CreateItem(0) newMail.To = mail

Re: [python-win32] Catching Send To in Office

2011-03-23 Thread Mike Driscoll
Hi Vernon, On 3/23/2011 10:53 AM, Vernon Cole wrote: One of the executives where I used to work actually made use of the ¨send to feature in Word. The resulting bloat that appeared was appalling, and IIRC the recipient had to have Word installed to read the mail, when she finally imported it.

Re: [python-win32] Set html in outlook mail

2011-03-23 Thread Tim Roberts
Luca wrote: Hi everybody, I’m trying to send an email via outlook and everything works fine with the following code: obj = win32com.client.Dispatch(/Outlook.Application/) formail inLmail: newMail = obj.CreateItem(0) newMail.To =

Re: [python-win32] Getting Started

2011-03-23 Thread Tim Roberts
Tony Wallace wrote: I am trying to develop a python application for the windows platform. As such occasionally I do need to interact with the operating system. I am using windows XP. I have in the past tried to use python tools with windows, but for some reason that escapes me, they all

[python-win32] can't import dde module after importing win32ui

2011-03-23 Thread Tony Seward
I'm having problems importing the dde module. I get the following results when I'm in the python interpreter Python 3.1.3 (r313:86834, Nov 27 2010, 17:20:37) [MSC v.1500 64 bit (AMD64)] on win32 Type help, copyright, credits or license for more information. import

Re: [python-win32] Getting Started

2011-03-23 Thread Tim Roberts
Tony Wallace wrote: This is what happens when I try and install pywin32: ... error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you

Re: [python-win32] Getting Started

2011-03-23 Thread Tim Roberts
Tony Wallace wrote: I have no reason to build from source. Where do I get this precompiled installation? http://sourceforge.net/projects/pywin32/files/pywin32/Build216/ If I read your messages right, you are running Python 2.5, so you want pywin32-216.win32-py2.5.exe. -- Tim Roberts,

Re: [python-win32] Catching Send To in Office

2011-03-23 Thread Tony Cappellini
Message: 1 Date: Wed, 23 Mar 2011 08:59:52 -0500 From: Mike Driscoll mdrisc...@co.marshall.ia.us Cc: Python-Win32 List python-win32@python.org Subject: Re: [python-win32] Catching Send To in Office Message-ID: 4d89fcd8.5090...@co.marshall.ia.us Content-Type: text/plain; charset=ISO-8859-1;