Re: [python-win32] MS Word and Python - how to disable SaveAs event?

2007-12-14 Thread bob gailer
Wojtek P wrote: > Hello! > > I try use Microsoft Word and OpenOffice with Python - and i have some > problems. How to disable "Save As" in word from python code, or how to > cancel this function when user use it? This code below doesn't work :/ > > wxPython 2.8.4.2 > Python 2.4.

Re: [python-win32] MS Word and Python - how to disable SaveAs event?

2007-12-14 Thread Tim Roberts
Wojtek P wrote: > > I try use Microsoft Word and OpenOffice with Python - and i have some > problems. How to disable "Save As" in word from python code, or how to > cancel this function when user use it? This code below doesn't work :/ You can't. This is not a Python issue. Word simply does expo

[python-win32] MS Word and Python - how to disable SaveAs event?

2007-12-14 Thread Wojtek P
Hello! I try use Microsoft Word and OpenOffice with Python - and i have some problems. How to disable "Save As" in word from python code, or how to cancel this function when user use it? This code below doesn't work :/ wxPython 2.8.4.2 Python 2.4.4 from win32com.client import DispatchWithEvent