Adobe Captivate: System Time Variables

by Lori Smith View our profile on LinkedIn
 
Last week I showed you Captivate's date variables. This week, let's take a look at the Time variables, the System Information variables, and a handy little variable called cpInfoMobileOS.

Adobe Captivate: Time Variables
 
Specifically, I am going to address the variables listed in the table below using 2:15 PM and 32 seconds as my example. 

Adobe Captivate: Time Variables

Perhaps you do not like military time (24 hour) and instead you want to use 12 hour time. A little advanced action can easily convert military time to 12 hour time. I have also created two user variables to help out: am_or_pm and myHour.

Adobe Captivate: Variables in use. 
 
When added to a text caption as shown below, the variables will display 2 PM.

Adobe Captivate: Variables added to caption. 
 
Now let's talk about the cpInfoEpochMS variable. It can be used to determine the play time for a lesson (or part of a lesson). By subtracting the value of the variable at the beginning of the lesson from its value at the end of the lesson, you can calculate the lesson's play time down to the millisecond. In the image below I have created a couple of Advanced Actions that make use or CpInfoEpochMS and a few user variables that I created:startTimeendTime, and timeElapsed.

First, you need to capture the lesson's start time using this Advanced Action:

Adobe Captivate: Lesson start time Advanced Action
 
At the desired point in your project, capture the time and calculate the timeElapsed.

Adobe Captivate: Time elapsed Advanced Action.
 
Last but not least, let's cover the cpInfoMobileOS variable. It's only job is to indicate if the learner is using a desktop computer of a mobile device (iPhone, iPad, etc). If you have certain elements or slides in your project that you want to behave differently depending upon the learner's device, you can use this variable in a conditional Advanced Action to create the desired behavior.
 

***

Looking to learn Adobe Captivate? We offer several Captivate classes. Feel free to contact us to learn other ways to meet your training requirements.

Leave a Reply

Discover more from The Logical Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading