Determine if movie is playing or not

  • Thread starter Thread starter daniel
  • Start date Start date
D

daniel

Hi,

I have managed to automate powerpoint from vc++ (with a lot of help
from reading this groups archives). The application is aimed at
running on a dual monitor setup where one screen is shown to the
audience and the other is visible to the speaker. Both slideshows are
kept in sync. If the speaker clicks on a movie the movie stops and i
want to stop the movie in the other presentation as well. Is there a
way to determine if a movie is playing or not?
I've been iterating the shapes on the slide and looking for the proper
methods to do this, but i can't seem to find anything on this subject.

Another issue is that sometimes powerpoint seems to stop updating
movies/animations when it has lost focus, is there a way to prevent
this from happening?

Many thanks in advance,

Daniel.
 
I do not know for sure, but since PowerPoint does not actually play the
movie, I suspect not. Perhaps you can check with the MCI and WMP; polling
them as to the movie status may be the answer

PowerPoint stops updating when the focus is lost. This appears to be by
plan and the thought is that since PowerPoint is a CPU intensive program,
and that it should be running on a dedicated computer or at least dedicated
at the time, that if something else needs to be done, then the show will
wait until that process is completed and the show restarted.

There is an add-in that allows users to have the presentation continue even
while doing other tasks. I'd recommend contacting Chirag about his Power
add-in. http://officeone.mvps.org/powershow/powershow.html

--
Bill Dilworth, Microsoft PPT MVP
===============
Please spend a few minutes checking vestprog2@
out www.pptfaq.com This link will yahoo.
answer most of our questions, before com
you think to ask them.

Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
..
..
..
 
Back
Top