views:

94

answers:

1

I'd like to fill MSWord bookmarks from a python script. I can't find such functions in win32com(MSWord) or in PyUno(OpenOffice).

Does anyone know how to use bookmarks from Python?

A: 

You don't find the functions in win32com, you find them in the documentation for the COM object that you are using. In this case that would be Word.Application.

You can see some sample Python code that uses this COM object to create bookmarks.

The most recent Word Object Model Reference is found here at MSDN

Michael Dillon