Can you export the timeline?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all

I've completely stuffed up when building a slide and am going to have to
redo the timings of my animations - is there anyway I can export the advanced
timeline (ie the beginning and end times of all the animations) so I don't
have to write it all out? A couple of screen shots give me the general idea
but the precise times would make it easy (if laborious) to recreate.

You see I added a sound file that looped but there was a little stutter
before it did so I edited the file into one as long as I needed. The problem
is some of the later animations are 'start after previous' and if I put the
new long sound file in I have to change them to start with previous and then
change the start times... Am I making sense?

Anyway, I just thought I would ask before I spend an hour doing something
that could take 5 mins. I'm using 2003 with all updates.

Lucy
 
Would this vba help?

You need to run it in the vb editor with the immediate window open.
Obviously change slide (1) to whatever number you want.

Sub timing()
Dim delay As Single
For n = 1 To ActivePresentation.Slides(1).TimeLine.MainSequence.Count
delay =
ActivePresentation.Slides(1).TimeLine.MainSequence(n).timing.TriggerDelayTime
Debug.Print "start time for item " & n & " =" & delay
Next n
End Sub
--

Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist
http://www.technologytrish.co.uk/ppttipshome.html
 
Mark 2 version!

Select the slide then > vba editor and run.

Sub timing2()
Dim delay As Single
Dim lasts As Single
With ActiveWindow.Selection.SlideRange
For n = 1 To ActiveWindow.Selection.SlideRange.TimeLine.MainSequence.Count
delay = .TimeLine.MainSequence(n).timing.TriggerDelayTime
lasts = .TimeLine.MainSequence(n).timing.Duration
Debug.Print "start time for item " & n & " =" & delay & " end time = " &
(delay + lasts)
Next n
End With
End Sub
--

Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist
http://www.technologytrish.co.uk/ppttipshome.html
 
Hi John

Thanks for that. I've never used vba (I know, I know. I really must learn)
so I don't really know what I'm doing. I'm getting a compile error (syntax
error) because I'm proberly supposed to put some numbers somewhere hey? It's
the line that starts Debog.Print that's red in the editor.

Sorry to be dim, but I am blonde... ;-) I'm happy to teach myself if you
can suggest a page or two I should read that would teach me what I need to
know for this macro. I tried VB Help but I'm swimming in a sea of ignorance.

Lucy
--
MOS Master Instructor
South Australia

If this post answered your question please let us know as others may be
interested too
 
Sorry to be dim, but I am blonde... ;-) I'm happy to teach myself if you
can suggest a page or two I should read that would teach me what I need to
know for this macro. I tried VB Help but I'm swimming in a sea of ignorance.

This should all appear on one line in the VBA editor:

Debug.Print "start time for item " & n & " =" & delay & " end time = " &
(delay + lasts)

Or do like so:

Debug.Print "start time for item " _
& n & " =" & delay _
& " end time = " _
& (delay + lasts)

As far as learning more:

How do I use VBA code in PowerPoint?
http://www.pptfaq.com/FAQ00033.htm

and then the others hereabouts:

For VBeginners
http://www.pptfaq.com/index.html#name_For_VBeginners
 
Hey Steve

Thanks, that certainly fixed up my error. Well, I can run the macro but
nothing happens - but of course I don't really understand what is supposed to
happen... So the plan is to buy a book or two, lock myself away for a week
and get my head around the basics :-)

In the meantime, I'll hope the client thinks the music is tacky and doesn't
want it ;-)

Lucy
--
MOS Master Instructor
South Australia

If this post answered your question please let us know as others may be
interested too
 
Hey Steve

Thanks, that certainly fixed up my error. Well, I can run the macro but
nothing happens - but of course I don't really understand what is supposed to
happen...

The Debug.Print lines should make useful text appear in the "Immediate" window
of the VB editor. Try it again but press Ctrl+G (in the vb editor) then run the
macro again.

Better?

So the plan is to buy a book or two, lock myself away for a week
 
Yaaay! That beats me scribbling it down with a pencil (and then being unable
to decipher my own handwriting). Thank you so much Steve and John - I can
see me using that quite a bit (I'm a 'measure once, cut twice' kind of person
unfortunately).

I don't suppose you can alter them and send them back the other way can you?

Thanks again. And you might even have given me the confidence to start
playing with other bits of code I've found here...

Lucy
--
MOS Master Instructor
South Australia

If this post answered your question please let us know as others may be
interested too
 
Yaaay! That beats me scribbling it down with a pencil (and then being unable
to decipher my own handwriting). Thank you so much Steve and John - I can
see me using that quite a bit (I'm a 'measure once, cut twice' kind of person
unfortunately).

I don't suppose you can alter them and send them back the other way can you?

That'd take a good bit more coding ... but
Thanks again. And you might even have given me the confidence to start
playing with other bits of code I've found here...

There you go then. Your first coding project. <g>
 
Back
Top