Differences between revisions 1 and 2
Revision 1 as of 2008-06-19 18:07:04
Size: 347
Editor: hwvpn-janssen86
Comment: short Powerpoint example
Revision 2 as of 2008-11-15 14:00:37
Size: 347
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Powerpoint and Word have extensive Applescript dictionaries.

Here's how to get the path of the folder of the current presentation in Powerpoint, and the name of the file:

  from appscript import *
  a = app("Microsoft Powerpoint")
  path = a.active_presentation.path()
  file = a.active_presentation.name()
  print path, file

MacPython/Microsoft Powerpoint (last edited 2008-11-15 14:00:37 by localhost)

Unable to edit the page? See the FrontPage for instructions.