This tutorial will teach you how to create a dynamic page counter in Adobe Captivate 7. So let’s get right to it.
Here in our sample course we have a page number element that is set to Display for Rest of Project. So it appears on this page and every proceeding page. Notice though that it’s not correctly updating when I go from slide 1 to slide 2 to slide 3. It says page 1 of 3 on each of these pages, which is definitely not what we want. We want it to say 1 of 3, 2 of 3, and 3 of 3 respectively, and without having to update this on every single page of the course whenever we reorder our slides, add, or remove them.
How do we fix this? Well, dear friends, we use variables. If you’re not familiar with what a variable is, essentially it’s a little information container. Captivate comes with quite a few standard (or system) variables with information such as the current slide you’re on, your score on a quiz, and the total number of slides in a course. You can also define your own variables, but that’s for another time another tutorial video.
We’re going to grab the information from the current slide and total slide count variables to create our dynamic page numbers. So let’s do that.
Double click the page numbering text caption so a cursor appears in the box.
In the Properties panel in the Format section click the variables icon. In the popup that appears, select System from the Variable Type drop-down.
In the “Variables” drop down select “cpInfoCurrentSlide”, and click the OK button.
Notice that the variable is inserted into our text caption. We have to preview the project to see this variable in action, so click the Preview button and select “Next 5 Slides” from the drop-down menu. Notice that on slide 1, it now says slide 1, and on slide 2, it says 2. Awesome. But we want it to say Page 1 of 3, etc. So let’s get that working.
Double click the text caption so a cursor appears. Type “Page” in front of the variable. Type “of “ after the variable. Next, in the Properties panel in the Format section click the Variable icon again. Select “System” from the Variable Type drop-down. Then select cpInfoSlideCount from the Variables drop-down and click OK.
Preview the course again, and there we have it. A dynamic page counter. Now if you reorder your slides, remove slides, add slides, or whatever, your little page counter will update accordingly without you having to adjust text captions on every page.
Cool. Alright, next time we’ll talk about how to space and align elements on a screen. It may sound a bit boring, but trust me, it’s important. Properly and consistently spacing your elements on the screen makes a real difference in how clean and professional a design looks.
Alrighty, if you want to follow along with these tutorials, you can go to TheLearningSmith.com, and purchase the Adobe Captivate 7 elearning Template. This template contains all the completed slides that we’ve been working through in these videos and the little bit I make off them gives me some motivation to keep creating these tutorial videos. Until next time then, you have yourself a wonderful day.
Click the buttons to learn more about the Adobe Captivate 7 eLearning Template.Learn More Preview HTML5 Version Preview Flash Version