Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Office > PowerPoint

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-14-2019, 04:04 PM
Gerardo Gerardo is offline Windows 8 Office 2016
Novice
 
Join Date: Jan 2019
Posts: 14
Gerardo is on a distinguished road
Question Creating a seconds timer but it has glitches

Hi everyone. It's a pleasure.

I'm trying to create my own timer using animations in PowerPoint. The article here was really helpful: https://www.experts-exchange.com/art...n-a-slide.html

I made two different sequences of animations: one for the units and the other for the tens. In both cases text boxes appear on top of the prior one, 1 to 9 for the units and 1 to 5 for the tens. In both cases the 0 isn't animated, it's just the text that the slide begins with. In the case of the units, the text boxes must appear at a speed (duration) of 1.00 sec for each. In theory the tens should sync with the units if they appear at a speed (duration) of 10.00 sec for each, but it didn't . I had to adjust the duration of each animation of the tens to 10.20 sec. Now the tens and units do sync quite well, but I'm worried this has made my timer inaccurate. That's the first glitch.

Following the steps of the article I linked, I used as trigger for each one of both sequences (units and tens) a different audio file inserted in the slideshow. Technically they're the same audio file inserted twice, that's why they have the same name. The audio files are completely silent, but they're in a constant loop, so that allows the animation sequences to also have a constant loop. I trimmed both audio files so the loops would last the proper time. I trimmed the units audio file to 10.00 seconds. That's how long it should take from 0 to 9 and start back again. And I trimmed the tens audio file to 1:01 min. I had to add that extra second as well for the tens and units animations to sync correctly. But, like I mentioned, this probably makes my timer inaccurate.

Aside from its inaccuracy, there's a second glitch I'm baffled about . For some reason after showing 59 it passes directly to 09, it then stays like that for approximately ten seconds, and then it continues with 10, 11, 12, and so on. This glitch seems to be connected to the trimming of the tens audio file. If I trim it instead to 1:00 or 1:02 min it won't freeze, but the tens and units will stop being in sync some time after the first loop.

I've uploaded my Power Point file for you guys: https://drive.google.com/uc?export=d...QrTUbY9dgvSUEY



Could you please download it and study all I did regarding both the audio files and the animation sequences? I really appreciate any help .
Reply With Quote
  #2  
Old 01-15-2019, 06:05 AM
JohnWilson JohnWilson is online now Windows 7 64bit Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,743
JohnWilson will become famous soon enoughJohnWilson will become famous soon enough
Default

The idea of timing loops with a silent video is great ( I know
Jamie and Tom who devised the idea well). It may not be the best way to make a timer though.

See if this page is any use.

http://www.pptalchemy.co.uk/Animated_Timer2.html
__________________
Microsoft PowerPoint MVP
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 01-15-2019, 09:32 AM
Gerardo Gerardo is offline Windows 8 Office 2016
Novice
 
Join Date: Jan 2019
Posts: 14
Gerardo is on a distinguished road
Default

Thank you John. That looks super useful! I must confess I'm scared of macro , but I'll give it a try. Would you please guide me a bit? I just don't know how to use macro. So, I know I have to create a text box in a slide and I also know I have to copy/paste the code of the linked page somewhere, don't really no where. And that's all I know .

I hope it's OK for me to ask. I really appreciate your help .
Reply With Quote
  #4  
Old 01-16-2019, 08:06 AM
JohnWilson JohnWilson is online now Windows 7 64bit Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,743
JohnWilson will become famous soon enoughJohnWilson will become famous soon enough
Default

to use the macro

COPY the code

In PPT press Alt f11 to get to the code editor

Once there choose Insert Module and paste in the code

f5 will run the code (make sure the shape is selected.)

OR return to the normal PPT window and View > Macros > Run

You cannot do a lot of damage with this so just have a go!
__________________
Microsoft PowerPoint MVP
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #5  
Old 01-16-2019, 08:42 AM
Gerardo Gerardo is offline Windows 8 Office 2016
Novice
 
Join Date: Jan 2019
Posts: 14
Gerardo is on a distinguished road
Default

Thank you so much! I can't believe it was that easy. I was having a hard time making my timer work, although I am proud of what I had done .

One question, is there a way to make the timer stop when I click the mouse button?
Reply With Quote
  #6  
Old 01-16-2019, 09:38 AM
JohnWilson JohnWilson is online now Windows 7 64bit Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,743
JohnWilson will become famous soon enoughJohnWilson will become famous soon enough
Default

No simple way I can think of.
__________________
Microsoft PowerPoint MVP
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #7  
Old 01-16-2019, 09:54 AM
Gerardo Gerardo is offline Windows 8 Office 2016
Novice
 
Join Date: Jan 2019
Posts: 14
Gerardo is on a distinguished road
Default

OK, doesn't matter. Thank you very much John !
Reply With Quote
  #8  
Old 01-27-2019, 06:30 PM
Gerardo Gerardo is offline Windows 8 Office 2016
Novice
 
Join Date: Jan 2019
Posts: 14
Gerardo is on a distinguished road
Default

Hi again. I hope I can ask for your help once more. The web page mentioned I could turn the timer into a countdown but I didn't get how. Can you please explain it to me?


Thank you .
Reply With Quote
  #9  
Old 01-28-2019, 06:02 AM
JohnWilson JohnWilson is online now Windows 7 64bit Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,743
JohnWilson will become famous soon enoughJohnWilson will become famous soon enough
Default

Just change the line

For i= 0 to iDuration Step Istep

TO

For i= iDuration to 0 Step -Istep
__________________
Microsoft PowerPoint MVP
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #10  
Old 01-28-2019, 07:10 AM
Gerardo Gerardo is offline Windows 8 Office 2016
Novice
 
Join Date: Jan 2019
Posts: 14
Gerardo is on a distinguished road
Default

Thank you John. I really should read more carefully .
Reply With Quote
Reply

Tags
power point animations, power point audio

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timer for outlook DuncanH Outlook 0 02-28-2017 08:45 PM
Outlook 2013 Messages can sit in the Outbox anywhere from 5 seconds up to 60 seconds BNS1968 Outlook 0 09-16-2016 08:07 PM
Can you add a count down timer? breakout PowerPoint 0 01-09-2015 10:41 PM
first timer papamadre Forum Support 1 10-24-2009 06:26 AM
16 seconds Scott@Geeks Word 0 02-24-2009 01:06 PM


All times are GMT -7. The time now is 10:14 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft