Skip to main content
andrewg76970232
Known Participant
June 23, 2021
Question

Slide Counter help for Captivate

  • June 23, 2021
  • 1 reply
  • 959 views

Hi Community

 

I am using a template that uses a slide counter within the master slide view. The slide counter counts the current slide number and the total slides, and looks like this:

 

$$cpInfoCurrentSlide$$/$$TS$$

 

The reason I have this sitting within the master slide view, and not simply on each slide, is because this way I can control which slides it actually appears on. Some master views have the counter and others do not. And whether I have it appear or not, it will of course still count all the slides within the project (even those without the counter) in the total slide. I have a question though - and I'm not sure if this can be achieved:

 

Is it possible to exclude some slides altogether from being counted in the 'total slides' $$TS$$ The reason for this, is because I have created 25 pages that all link to another page with clickable links. The reason I did it like this rather than click to reveal, is because of the sheer amount of linked content. However, because this behaves like a click to reveal (with links back to the main page) and because the user will not need to click on all of them - I don't want those 25 pages to be included within the total slides.

 

I have done a lot of research online, and have read some quite detailed descriptions of variables - but still am unsure as to whether this can be achieved.

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    June 23, 2021

    Your variableTS is a user variable, not the system variable cpInfoSlideCount which is normally used to show the total number of slides.  Why not just calculate 'your' total number of slides with the On Enter event of the first slide like this:

       Expression TS = cpInfoSlideCount - 25

       Continue

    That will be an advanced action since the Expression command is only possible in an advanced or shared action. If you want it to be more flexible, create another user variable v_subtract and use a shared action:

      Assign v_subtract with 25

       Expression TS = cpInfoSlideCount - v_subtract

       Continue

     

    This shared action would have only one parameter: the literal '25'. You can easily import it in any project, apply it to the first slide On Enter, and define the number of slides you want to subtract from the real total.

     

    Maybe this recent example which I published, which is bit related, could be interesting to you:

    Automated Numbering for Sections - eLearning (adobe.com)

     

    andrewg76970232
    Known Participant
    June 23, 2021

    Hi!

     

    Thanks so much for your reply. I'm a not a complete newbie with Captivate, but I'm still learning. I have created many advanced actions before, but have a couple of questions:

     

    1) does this AA need to be on every single slide, or is it just the first one?

    2) Is it possible you can give me some guidance in setting up the AA? I dont need the extra variable, just doing the -25 will work fine

     

    I really appreciate your help!

     

     

    Lilybiri
    Legend
    June 24, 2021

    It depends on the situation. If you are sure that each session will start on the first slide, it is sufficient to put this action on the On Enter event of the first slide, since the calculation doesn't have to be redone anywhere, the value of the variable remains the same.

    However if this is a course posted on a LMS where you allow bookmarking, each session will start with a different slide. In that case it would be safer to have the action on each slide. Do not use a Shared action for that situation, because only an Advanced action can be applied in one workflow to all On Enter slide events of the selected slides in the Filmstrip. Too bad that you cannot filter them based on the used master slide(s).