Re: How to script PowerPoint
Re: How to script PowerPoint
- Subject: Re: How to script PowerPoint
- From: Lorin Rivers <email@hidden>
- Date: Mon, 25 Jun 2001 19:56:54 -0500
At 11:07 AM -0700 6/25/2001, Paul Berkowitz wrote:
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
REALbasic 3.5 also supports modifying PowerPoint via a similar
mechanism. As REALbasic also supports embedded AppleScript, you can
use them too.
It's all new...
--
Lorin Rivers 512.263.1233 x712 v
Product Manager 512.263.1441 f
REAL Software, Inc.
mailto:email@hidden
PMB 220
http://www.realsoftware.com
3300 Bee Caves Road, Suite 650
Austin, Texas 78746
REALbasic: the powerful, easy-to-use tool for creating your own
software for Macintosh, Mac OS X, and Windows.