Skip to main content
Inspiring
May 17, 2017
Question

Setting a timer on slides in Captivate 8.

  • May 17, 2017
  • 2 replies
  • 610 views

I need some help on setting a timer on slides in Captivate 8.

Every slide has a duration of 5 seconds, if click "Next" before 5 sec, a popup will show or else go to the next slide.

Problem: I don't want to force the user to wait 5 seconds if they have to revisit a slide. ie go BACK 1 slide shoudn't make them wait 5s again.

Question: is there an elegant solution here that I'm missing?

What I've tried so far:

Time widget, I can't find a way to disable after initial 5s.

cpInfoElapsedTimeMS, this doesn't work per slide

Any idea or suggestions please?

This topic has been closed for replies.

2 replies

Inspiring
May 17, 2017

Hi Lilybiri,

On entering the slide the Timer widget starts, if the NEXT button is selected before the timer runs out it will show an alert.

If I could edit the widget time js I could reference another variable but it doesn't seem possible.

I think I need to make my own timer in javascript that I can use with other variables but I'd rather not if there is a better way.

Lilybiri
Legend
May 17, 2017

You cannot use the Timer widget for your goal, I only use it to 'show' elapsed time, never to make decisions. It also doesn't behave the same way for SWF and HTML5 output I experienced. You can do the same with the forementioned system variable. Populate a user variable on Enter for the slide with the time at that moment, calculate the elapsed slide time when the Next button is clicked. If you make the Next action a conditional action, that tracks if this is the first visit to the slide, you'll have what you want. Believe me: I gave up with the Timer widget (liked the former timing widget better).

Inspiring
May 17, 2017

Thanks,

I'm following, that is what I'm looking for.

If you have any examples that would be great.

Cheers

Lilybiri
Legend
May 17, 2017

Can you explain more the setup of the slide? Is the Next button appearing only after 5 secs? Something like I explained here:

Force first view - Captivate 8 - Captivate blog

As for timing, I prefer using another system variable in combination with user variables and micronavigation: cpInfoEpochMS.