by Kevin A. Siegel
Variables serve as placeholders for data. The data can be used to provide feedback to the user, create advanced actions or add content to a slide.
There are two types of variables available in Adobe Captivate: System and User-Defined.
System Variables, which ship with Captivate 4 and are available in every Captivate project, grab data from your project or computer and allow you to manipulate it. System variables include MovieControls (lesson controls such as pause, resume, previous and next slide), MovieInformation (events such as the current slide and frame), MovieMetaData (Information about the project such as its name, author, and company), SystemInformation (data that can be grabbed from your computer such as current date and time), and Quizzing Lists (allow you to capture quiz data such as the number of quiz attempts or the percentage of questions answered correctly).
User-defined Variables, which are typically created to store data that will be used throughout the project are created on the fly by the Captivate developer. You could create a variable that gathers a user's first name. Once the data has been collected by the variable, the name can be displayed over and over again in the project.
This week, I'll show you how to use System variables.
One of the most common uses of System variables is to return information about the project to your user in the published lesson. For instance, you might want the name of the project to appear in a text caption in multiple locations (and you don't want to have to type it each time). The first thing you'll need to do is add the Document Information to the project by choosing File > Document Info.
Insert a System Variable
- After adding the Document Information, insert a text caption (Insert > Standard Objects > Text Caption)
- Click where you want the variable to appear and click the Insert Variable button at the far right of the Text Caption dialog box

- If necessary, select System from the Variable Type drop-down menu
- Select MovieMetaData from the View by drop-down menu
- Select cpInfoProjectName from the Variables drop-down menu

- Click OK
The variable appears in the text caption in a less than readable format: $$cpInfoProjectName$$.

- Click OK
- Preview the project and you'll see that the name of the project appear in the text caption. Cool!
Of course, System variables are just the tip of the iceberg when it comes to reusing data in a project. I'm betting that what you'll really think is off-the-chart cool is User variables. Of course, that's a story for another day… specifically, next week!
***
Need to learn Adobe Captivate 4 fast? Attend a live, 2-day online training class. Click
here for more information.
Note: Our new
Advanced Captivate 4 class is now posted on our Web site. Click
here for more information.