Re: [python-win32] constants problem

2005-07-21 Thread kimwaic888-pythonwin32
Okay, Roger, I got it. It's the Microsoft Word 11.0 Object Library that I have to do. Thanks, [EMAIL PROTECTED] wrote: > Roger, > > Thank you for the reply. Could you please elaborate a > little further. I don't fully understand the message. > > You said: > > >>For the constants to be a

Re: [python-win32] constants problem

2005-07-21 Thread kimwaic888-pythonwin32
Roger, Thank you for the reply. Could you please elaborate a little further. I don't fully understand the message. You said: >For the constants to be available, you'll need to run makepy on the machines your script will run on. I tried to run makepy.py and a menu of "types" poped up. What s

Re: [python-win32] constants problem

2005-07-20 Thread kimwaic888-pythonwin32
Regarding my previous message, here's sample code I am using. It runs fine on my computer but not others. These computers have same versions of Word, Python, and Python-win32: from win32com.client import Dispatch, constants wordApp = Dispatch("Word.Application") print constants.wdTextWrap

[python-win32] constants problem

2005-07-20 Thread kimwaic888-pythonwin32
Hi, list: This is puzzling. For the PythonWin32 based Word script I developed, everything works fine on my machine. However, when I run the script on another machine, it would fail whenever it comes across any of the constants variables (such as, for example, constants.wdLine, constants.wdStory,