Auto-generation of PowerPoint from GIFs and WMAs?

T

Traveller

Hello,

On my system with Win XP Home SP2, I have a collection of GIF files, each
of which has a corresponding WMA file. I would like to use PowerPoint 2002
SP3 to generate a presentation that may be used with the viewer.

Presuming the files are named slide###.gif and slide###.wma, is there any
way (e.g. external utility program, internal scripting, etc.) to automate
the process by importing each GIF-WMA pair into a slide that would only
transition to the next slide after the WMA file has finished playing?

I did find information about a script to use the AddPicture method to add
images to a presentation one slide at a time, but it does not attach each
slide's corresponding WMA file. I have tried to modify that code to include
setting either the SoundEffect object for the slide, or to use the
AddMediaObject method, but haven't been able to get that part to work.
Nothing happens, other than the original slide creation.

Any ideas?

Thanks!
 
A

Austin Myers

Have you looked at the PowerPoint Object Model documentation? If not you
should download it from Microsoft. On the MS site do a search for
"vbapp10.chm".
It contains a number of examples and explains how they work.

--
Austin Myers
MS PowerPoint MVP Team

Provider of PFCPro, PFCMedia and PFCExpress
www.playsforcertain.com
 
T

Traveller

vbapp10.chm

Thanks. The search results on the MS site only point to articles that
mention vbapp10.chm. The only thing close that is available for download
is vbapp11.chm. That does sound helpful, though.

Even so, I managed to get it working with some sample code from another
site, then adding the AddMediaObject call to it. In my first few attempts
with AddMediaObject, I had mimicked the sample code's AddPicture call a
little TOO closely, so that was why AddMediaObject was not working.

Now that this is working, I have some questions about the audio, but I will
post those in a separate message so they have their own, proper subject
line.

Thanks again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top