automatically insert text in ms-word properties

2008-10-07 Thread gita ziabari
All,

I wanna use python to automatically insert text in ms-word properties.
Anyone could help me?

Thanks
--
http://mail.python.org/mailman/listinfo/python-list


Re: automatically insert text in ms-word properties

2008-10-07 Thread Peter Wang
gita ziabari [EMAIL PROTECTED] writes:

 All,

 I wanna use python to automatically insert text in ms-word properties.
 Anyone could help me?
Why not use VBA for that work? 

 Thanks
 --
 http://mail.python.org/mailman/listinfo/python-list

--
http://mail.python.org/mailman/listinfo/python-list


Re: automatically insert text in ms-word properties

2008-10-07 Thread Tim Rowe
2008/10/7 Peter Wang [EMAIL PROTECTED]:
 gita ziabari [EMAIL PROTECTED] writes:

 All,

 I wanna use python to automatically insert text in ms-word properties.
 Anyone could help me?
 Why not use VBA for that work?

Why use VBA?

It's actually not a straight choice. VBA is pretty much all that's
available if you're doing it from *inside* Word, it's not available if
you're doing it from *outside* Word. VB is available from outside
Word, but I for one would much sooner use Python in that case.

The difficulty isn't with the language, it's with lack of
documentation on Office Automation access to document properties. If
Gita can find that, Python should be at least as good for the job as
VB (and I think I'm being unduly kind to VB in putting it like that!)

-- 
Tim Rowe
--
http://mail.python.org/mailman/listinfo/python-list