powerpoint automation events

  • Thread starter Thread starter Alex Krumm-Heller
  • Start date Start date
A

Alex Krumm-Heller

I am playing around with trying to capture PowerPoint events and
examine presentations (using the example provided in Knowledgebase
article 254009 as a basis). I am running a slideshow using this
software and watching the events that occur.

The problem I am having is that a slide from a presentation I have has
an image which is not being recognized as an image, rather
programmatically it is described as a movie (msoMedia by
shape.gettype() and ppMediaTypeMovie by shape.getmediatype()) and is
also described as having an animation that will be shown during a
slide show (determined from
shape.GetAnimationSettings().GetAnimate()).

I was wondering why the image is being thought of as a movie by
PowerPoint internally and why it has an animation event associated
with it. I think that the animation event is spurious and was
wondering if there is a way I can determine why this occurring and if
there is a way to work around it.

Thanks

Alex
 
The problem I am having is that a slide from a presentation I have has
an image which is not being recognized as an image, rather
programmatically it is described as a movie (msoMedia by
shape.gettype() and ppMediaTypeMovie by shape.getmediatype()) and is
also described as having an animation that will be shown during a
slide show (determined from
shape.GetAnimationSettings().GetAnimate()).

getmediatype isn't a built-in PowerPoint method; do you have access to the
code behind it? Perhaps it's incorrect.

Are you certain the image is just an image and not the first frame of a movie
file?
 
Back
Top