Re: [python-win32] ActiveX Script & Classic ASP bug with args passed from VBScript

2011-03-24 Thread Chris Lambacher
Further information: It looks like this is a general COM issue, not just an ActiveX Script issue. If I do the test with a registered Python COM object, I get the same results from VBScript. The bug has been updated with this new information. -Chris On Thu, Mar 24, 2011 at 9:49 AM, Chris Lambache

[python-win32] iTunes COM using Python win32

2011-03-24 Thread Adrien LINA
Hello, I came across the same problem as you. I googled my problem and i found the answer, when you create a playlist, it is 'only' an IITPlaylist. In opposition with the IITUserPlaylist, you are unable to use the method "Addtrack(the_track)". This is why you need to 'populate' it, using the insta

[python-win32] ActiveX Script & Classic ASP bug with args passed from VBScript

2011-03-24 Thread Chris Lambacher
Hi, I am trying to port a classic ASP application to Python with a mid-point step where we use the Python in ASP. As part of this, we are calling into Python from VBScript and finding that some parameters end up becoming Null after a function call. Some digging turned up an old bug against Python

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