Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / August 2006

Tip: Looking for answers? Try searching our database.

Can you export the timeline?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
aneasiertomorrow - 15 Aug 2006 03:30 GMT
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
Signature

MOS Master Instructor
South Australia

John Wilson - 15 Aug 2006 12:32 GMT
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
Signature


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

> Hey all
>
[quoted text clipped - 14 lines]
>
> Lucy
John Wilson - 15 Aug 2006 12:45 GMT
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
Signature


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

> Would this vba help?
>
[quoted text clipped - 28 lines]
> >
> > Lucy
aneasiertomorrow - 16 Aug 2006 01:42 GMT
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
Signature

MOS Master Instructor
South Australia

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

> Mark 2 version!
>
[quoted text clipped - 45 lines]
> > >
> > > Lucy
Steve Rindsberg - 16 Aug 2006 04:38 GMT
> 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

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
aneasiertomorrow - 16 Aug 2006 07:04 GMT
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
Signature

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
[quoted text clipped - 27 lines]
> PPTools:  www.pptools.com
> ================================================
Steve Rindsberg - 16 Aug 2006 19:56 GMT
> 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
> 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

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
aneasiertomorrow - 17 Aug 2006 00:19 GMT
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
Signature

MOS Master Instructor
South Australia

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

> > Hey Steve
> >
[quoted text clipped - 21 lines]
> PPTools:  www.pptools.com
> ================================================
Steve Rindsberg - 24 Aug 2006 04:37 GMT
> 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>

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.