Re: How to script PowerPoint
Re: How to script PowerPoint
- Subject: Re: How to script PowerPoint
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 25 Jun 2001 11:07:52 -0700
On 6/25/01 9:29 AM, "Katherine Richmond" <email@hidden>
wrote:
>
Hi all,
>
>
I asked the Script Editor to open the PowerPoint dictionary. It is empty.
I'm
>
assuming then that you cannot AppleScript PPT. Does anyone script PPT, and
how
>
do you do it?
>
You would have to learn Visual Basic for Applications. Unlike Word, you
can't even access via applescript: you have to make PP macros in VBA. If you
want to get an idea as to what that involves, go to Tools--> Macros -->
Visual Basic Editor in PP. When it appears, go to Help --> Contents & Index.
If you don't have it, get out your MS Office CD, and install Programmability
from the Value Lack, Then go back to VB Editor Help.
Aside from the VBA for PP, read up a bit on the section for Visual Basic
Reference (basic VB commands) and how to use the Editor, which is an
excellent editor. You will be able to communicate via applescript with other
applications via the MacScript command (in the VB reference). There are
books you can get (probably an O'Reilly one), The scripting will be the same
on the mac as on Windows except that there will be a few commands relating
to ActiveX controls you can't use and file paths are mac version. The Help
will always tell about these.
Good luck.
--
Paul Berkowitz