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

2011-03-24 Thread Michel Claveau
Hi! Sorry, I do not really undestand english. But if you want initiate "Send to mail" in MS-Word, you can use some thing like: w=win32com.client.Dispatch('Word.Application') ... w.ActiveDocument.SendMail() If you want tha sevral fields (Object, Destinataire...) are filled, you must

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

2011-03-24 Thread Tony Cappellini
When you launch Word and Excel, you can manipulate them via COM and try to intercept, which is a pain but at least you can control them from Python. You may be able to intercept SendTo this way. If you launch Word with your own template file (.dot) it may be possible to embed a Word macro in the t

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

2011-03-24 Thread Mike Driscoll
Hi Tony, On 1:59 PM, Tony Cappellini wrote: 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 l

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 Cc: Python-Win32 List 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; format=flowed On 1:59 PM, Tim Roberts wrote:

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] 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 ans

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-22 Thread Tim Roberts
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, which in found in the re

[python-win32] Catching Send To in Office

2011-03-22 Thread Mike Driscoll
Hi, 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. I'm going to need to do that with the right-click context menu that appears when people right-click a file too. Any ideas would be great. Even if I