Accessibility

About variables

Variables in Adobe Captivate act as placeholders for data. The relevant data is associated with the variable during user input or when the output SWF is played.

Apart from saving time, variables help achieve consistency and minimize errors in a project. For example, you can use user-defined variables to specify version numbers of products. At all places where you want to add the version number in a project, add the variable instead. When you set the value for the version number in the corresponding variable, the value is displayed at all places where you inserted the variable.

Types of variables

The following diagram shows the different types of variables in Adobe Captivate:


Types of variables in Adobe Captivate

System variables   These variables are available in the system for your use. System variables help you pick up data from your computer and manipulate it through scripting. You can also customize the values of some of the system variables.

For more information on system variables, see this blog.

User-defined variables   These variables are the ones that you can create so that they can store data that is used or updated multiple times in For example, you have developed an elearning course that requires the ID numbers of your users. You can create a user-defined variable and associate it with the text entry box in which the users will type in their IDs. At runtime, the variable is replaced with the actual value that your users type in the text entry box. This way you can then reuse the information anywhere in your course by just inserting the variable again.

For more information on creating user-defined variables, see this article.

 

See Also

 

Related topics

 

Helpful links