[python-win32] how to disable word macro ?

2010-06-23 Thread Axel Rousseau
Hi, I write a python script. This script open word document, print them and close them. But in some of this documents, there is "auto-close" macro. This macro is launched when the document is closed. How can I disable this macro (or all macro) ? Can I parameter word to never run macros ? Can I del

Re: [python-win32] how to disable word macro ?

2010-06-23 Thread Axel Rousseau
Word 2007 2010/6/23 Dahlstrom, Roger > What version of Word? > > > > *From:* python-win32-bounces+rdahlstrom=directedge@python.org [mailto: > python-win32-bounces+rdahlstrom = > directedge@python.org] *On Behalf Of *Axel Rousseau > *Sent:* Wednesday, Jun

[python-win32] how to "click" on a word "confirm popup"

2010-08-11 Thread Axel Rousseau
Hi, I've open and print word document with a python script (using "win32com.client") but some documents have macro which ask to click on a confirm popup. How can I automatically make this ? Thank you for your help, Regards, Axel ___ python-win32 mailin