Skip to main content
Participating Frequently
June 5, 2014
Question

Reset $$cpInfoCurrentSlide$$ variable

  • June 5, 2014
  • 2 replies
  • 385 views

Hi,

I am using the system variable $$cpInfoCurrentSlide$$ as my slide counter in a text box. However, my Captivate (7) project has 5 topics in it and I want to reset this counter to 1 at the beginning of each topic. Is this possible without entering the numbers manually in the text box?

Thanks.

This topic has been closed for replies.

2 replies

Lilybiri
Legend
June 5, 2014

More info about which system variables are read only: System variables in Captivate 6 - Captivate blog or Captivate 6, but the quizzing system variables didn't change except some Pretest vars.

You'll have to use a user variables and the Increment statement to have the counter you wish. Then you can reset the counter.

judigraAuthor
Participating Frequently
June 6, 2014

Thanks guys, I worked it out with a bit of help from the internet. I've pretty much no clue as a programmer so writing Advanced Actions doesn't come easy to me!

RodWard
Community Expert
Community Expert
June 5, 2014

Most system variables are READ ONLY.  The cpInfoCurrentSlide variable tells you the index of the current slide being viewed.  You cannot really use it as a counter or change the slide number by trying to manipulate this variable.

You need to use a different method to achieve your objective here.