Python, COM, PowerPoint

Alex Martelli aleaxit at yahoo.com
Sun Nov 12 00:14:40 CET 2000


"Mats Wichmann" <mats at laplaza.org> wrote in message
news:3a0c7a41.157836 at news.laplaza.org...
>
> This isn't _strictly_ a Python question, but regards something I'd
> like to do with Python....  I have a need to fish some information out
> of a set of PowerPoint presentations - in particular, I'd like to
> extract the notes pages and generate a report showing the notes and
> the pages they apply to . Looks like Python's quite capable of doing
> this sort of work, and I've got win32all loaded up, but I'm having
> trouble locating information...there seems to be some information
> floating around about Word and Excel and how they provide access
> through COM, but I can't find anything on PowerPoint.  Looked like

VBAPPT9.CHM is the helpfile for the PowerPoint object model
in Office 2000 (you have to install the "visual basic help files",
just as for other Office apps!).  It has reference, and examples
too I think, just like its counterparts for other Office apps.

MSPPT9.OLB has the typelib file in which it's described (you
can use makepy, Ole/COM object viewer, etc, to get details).

See:
http://msdn.microsoft.com/library/officedev/odeomg/deovrmicrosoftpowerpoint2
000.htm
for a graphical summary of that Object-Model.

Also, the Microsoft Office 2000 Language Reference (also on MSDN)
also covers Powerpoint 2000.  See, e.g.,
http://msdn.microsoft.com/library/officedev/off2000/Off2000LangRef.htm


Alex






More information about the Python-list mailing list