PowerPoint vba for record timings with Producer installed

  • Thread starter Thread starter Tom Hyde
  • Start date Start date
T

Tom Hyde

After Producer is installed a new option becomes available under view
"Show Slides and record timings"

I am looking for the VBA command to do this same activity?

If I record a macro and do this, the macro only captures the simple Show
Slides

Any one know the VBA equivalent of
"Show Slides and record timings"
 
The menu item, is just a placeholder. There is a fair amount code which does
the recording of timings. It is not a single statement. You can achive the
same using an event handler to capture slide timing.


--
Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com
 
Thanks for the reply Shyam.

I actually do not want to manually capture the timings (with an event
handler). I simply want the timings to be recorded by powerpoint as normal
when this option is selected. I wasn't sure if their was a vba equivalent to
do this.

If this is not possible, then I may have to do as you suggested.
But I'd rather not :)
 
The menu item, is just a placeholder. There is a fair amount code which does
the recording of timings. It is not a single statement. You can achive the
same using an event handler to capture slide timing.

--
Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.www.animationcarbon.com

Yes, there are several events raised during the life cycle of a
presentation slideshow. You could use a timer and record when the
various events fire. Look into these events:

SlideShowBegin
SlideShowEnd
SlideShowNextBuild
SlideShowNextSlide

Good luck.

Carmen-
 
Thanks for the reply Shyam.

I actually do not want to manually capture the timings (with an event
handler). I simply want the timings to be recorded by powerpoint as normal
when this option is selected. I wasn't sure if their was a vba equivalent to
do this.

If this is not possible, then I may have to do as you suggested.
But I'd rather not :)

Sorry Tom, I posted just after you. If you don't want to track
timings manually via raised events, then I've got one other thought.

Take a look at the "Tags" object within a particular slide. It should
contain a "Timing" property that contains a demilited list of
durations between each animation for that slide. For example:

oPres.Slides(i).Tags.Item("TIMING")
may contain a string like this:
"|4.8|10.1|11.5|21.2"

which means the current slide has 4 animations, occurring at 4.8
seconds, then 10.1 seconds later, etc.

Hope this helps.

Carmen-
 
Thanks Carmen, I'll take a look, perhaps I will find
oPres.StartTimings
or
SlideShowBeginRecordingTimings property
.... which is really all I need
 
I found this blip (if this helps)

The Producer PowerPoint add-in program is a feature that is added into
PowerPoint
when you install Producer. The add-in can help you quickly synchronize
recorded
video and audio (or audio only) with a slide show or presentation. To use
the Producer
add-in program to record timings during a live presentation, in PowerPoint,
on the View
menu, click Show Slides And Record Timings. The presentation automatically
goes into
the Slide Show view, where slides are displayed full screen and timing begins

So perhaps what I really need is a means to Start this Producer Add-in thru
vba? Unfortunately I have no idea how to call it?
 
I found this blip (if this helps)

The Producer PowerPoint add-in program is a feature that is added into
PowerPoint
when you install Producer. The add-in can help you quickly synchronize
recorded
video and audio (or audio only) with a slide show or presentation. To use
the Producer
add-in program to record timings during a live presentation, in PowerPoint,
on the View
menu, click Show Slides And Record Timings. The presentation automatically
goes into
the Slide Show view, where slides are displayed full screen and timing begins

So perhaps what I really need is a means to Start this Producer Add-in thru
vba? Unfortunately I have no idea how to call it?

Tom,

What's your eventual output? Are you looking to run a presentation
(slideshow) and then access the timepoint data? If so, what would be
the format of the timepoint data you would hope to access via VBA? I
think if I understood the end goal, I might be able to help.

Just for some quick background: Microsoft Producer allows you to
record audio/video and synchronize it with slides. It's a separate
application that works with PowerPoint. The final output is a
presentation that can be published to the web. I also make a product
that does something very similar. Basically each slide (and
animation) has a timepoint that corresponds to a point in the
associated audio or video clip. When played back (via the web) the
audio/video and slides are all synchronized in a webcast type
interface.

Let me know more about your project's goals and I'll see if I can
help.

Regards,
Carmen-
 
When Producer is installed, an addin to PowerPoint is added to Show Slides
and record timings. These timings can then be saved into the powerpoint file
and extracted later (in my case we use the timings to create webcasts). My
eventual goal is override the standard view slide show event (ex. F5) so it
instead mimics the View Slide Show and Record Timings. The reason I need this
is that presentors sometimes will kick out of the presentation by accident
and then restart the show normally (ex. F5) which does not record the timings
(I require)

using the event handler class I can get at the App_SlideShowBegin event, I
just need to know what command initiates Producer's recording of the timings.
These timings are actually more robust than the normal rehearse timings
(which will not allow a presentation to go backwards and record these timings)

Hopefully that's a little more clear.
 
I found the Producer's add-in .ppa file and thought I could call one of it's
methods to mimic this activity, but can't see the code within the .ppa file?
Trying to see if I can convert it back to a .pps

Using a text editor, it looks like their might be a function
ShowPresentationAndRecordTimings that I could call using
Application.Run ("ShowPresentationAndRecordTimings")
but after testing, this still did not record the timings (what I require)

There may be some parms available to ShowPresentationAndRecordTimings, but I
cannot tell and have searched to no avail.
 
When Producer is installed, an addin to PowerPoint is added to Show Slides
and record timings. These timings can then be saved into the powerpoint file
and extracted later (in my case we use the timings to create webcasts). My
eventual goal is override the standard view slide show event (ex. F5) so it
instead mimics the View Slide Show and Record Timings. The reason I need this
is that presentors sometimes will kick out of the presentation by accident
and then restart the show normally (ex. F5) which does not record the timings
(I require)

using the event handler class I can get at the App_SlideShowBegin event, I
just need to know what command initiates Producer's recording of the timings.
These timings are actually more robust than the normal rehearse timings
(which will not allow a presentation to go backwards and record these timings)

Hopefully that's a little more clear.

Hi Tom,

Yes, much clearer now, thanks. Try creating a little VBA sub that
mimics the keystrokes that of the toolbar command you are looking
for. This sub worked for me. It started the presentation in
slideshow mode - and the timings were recorded (I could view them on
the thumbnail view).

Public Sub DoSlideShow_RecordTimings()
SendKeys "%V", True
SendKeys "{DOWN}", True
SendKeys "{UP}", True
SendKeys "{ENTER}", True
End Sub

I'm running Office XP - let me know if that works for you.

Carmen-
 
Back
Top