Skip to main content
Inspiring
May 20, 2015
Question

Captivate 8 Variable -- Number of Slides Viewed

  • May 20, 2015
  • 1 reply
  • 1091 views

Is there an out-of-the-box variable to accomplish this?  Or can one be written without needing to add a variable to count every individual slide?  Using advanced actions we'd like to conditionally display a different page at the end of a project depending on whether a user has viewed all (or better yet, a percentage) of the slides in a project.  We're allowing free navigation through the project, but require all slides to be viewed for the SCORM settings.  The issue is that people who skip around the presentation and miss a slide think they have reached the end, but Captivate correctly tells the LMS that the status is still incomplete.  We're looking for a solution to point the user back to the TOC (or an alternate slide) if they have missed one along the way.

Something along the lines of...

If <UnknownVariable> = cpInfoSlideCount

Then

Go to Next Slide (final slide)

Else

Show TOC (or another slide)

Thanks!

This topic has been closed for replies.

1 reply

Inspiring
May 20, 2015

There is not a system variable that will count visited slides. Since you allow free navigation, a user can visit the same slide multiple times, a simple increment command will not do the trick. you will need a var for each slide that is toggled from 0 to 1 when the slide is visited. I would create a shared action, triggered On Slide Enter, conditional acton:

IF v_one is equal to 0

   Increment v_counter

  Assign v_one with 1

  Continue

ELSE

   Continue

The var v_counter will have to be used in you action, do no turn it into a parameter. The var v_one should be a parameter, has to be chosen for each slide.

mkamenAuthor
Inspiring
May 21, 2015

‌Thanks, Ackeal.  That's what I feared would be required.  A lot of effort for larger projects with 100s of slides.  What about tapping into the SCORM tracking?  Slides views are already tracked there so the data must be stored somewhere.