ActivePresenter 7 comes with variables – a good way to add extra functionality to your course. Grab an overview of variables and the basic steps to create variables with this tutorial.
Without a single line of code, you can create variables and use them to:
- Collect and store information such as learner names and scores, then retrieve it throughout the course.
- Add conditional interactivity to your course with conditional actions that only occur when certain conditions are met.
ActivePresenter provides three types of variables: true/false, text, and number. All come in two categories: system and user-defined.
System variables come predefined with ActivePresenter. You cannot make any change to these variables. For example, the apQuizScore variable returns the total score a learner gets. Find system variables in the Home tab > Variables > System tab. For a list of all system variables, take a look at page 204 in the PDF User Manual.
Meanwhile, user variables are project-specific variables created by users. You are free to create, modify, and delete these variables. Details about creating variables are available in the latter part of this tutorial.
Types of Variables
True/false variables (also called “boolean variables”) have only two possible values: true or false. This true or false nature make these variables a great way to keep track of things that are right or wrong, on/off, clicked/not clicked, visited/not visited, and the like.
True/false variables enable you to make decisions, and thus have a better control over your flow. For example, you can use true/false variables for slide completion, that is, to track if learners visit a slide and interact with its content.
Text variables (also called “string variables”) hold text-based values (strings). These variables are meant for storing information such as names, passwords, years, etc.
For example, use text variables to remember the learner name and then display it throughout the course to personalize your training.
Number variables (also called “integer variables”) hold numeric values. They store numeric information such as scores, number of attempts/clicks, question counting, current slide number/index, and any other numeric values.
For example, use number variables for some simple calculation functions such as addition and subtraction. Or, use these variables to create a visible counter that counts either up or down to track the number of clicks.
It’s quick and easy to create variables in ActivePresenter 7.
Step 1: In the Home tab, click Variables. The Variables dialog appears.
Step 2: In the User tab of the dialog, specify the variable name, type, initial value, and description (if any).
Step 3: Click Save to save changes. The new variable will appear in the variable list at the bottom of the dialog.
After creating variables, you can do either of the following tasks to make use of them:
- Referencing variable values to display dynamic information throughout the course.
- Use actions to adjust variable values.
- Create conditional actions that involve variables.
Details about these tasks will be available in upcoming tutorials. So stay tuned!