Skip to main content
Known Participant
Jun 11, 2018 6:53 PM UTC
Answered

Using captivate variables to show time remaining and total for a module

This is for Adobe Captivate 2017

I have a custom control bar handling Mute, CC, Reset, Back Play and Pause.

My goal is to add a progress indicator showing the time spent on a module and the total time of the module.

Example :  01:36 / 07:40

I would think this should be as easy as droping in a built in Captivate variable but i am not seeing the variables i need.

List of variables in Adobe Captivate

I believe i should be using cpInfoElapsedTimeMS for the first part but dont know what to use for the second part to show the total module time.

Is there an expanded list of Adobe Captivate variables I am not finding?

Thank you in advance for any guidence on this.

This topic is closed to new replies. Start a new post to keep the conversation going.
Lilybiri
LilybiriCorrect answer
Legend
Jun 11, 2018 7:03 PM UTC

Quite a long time ago I wrote this blog post:

Display Time information - Captivate blog

I tried to explain there the big difference between the 'developer's time' and the real time spent on and needed for a module.

Which time do you want to show? The developer's time, which is in reallity only the duration of the slides as shown in the TOC? I would recommend to use the TOC in that case. If you want to show the real time spent on a module that is something totally different, and can be calculated from the timing system variables.

The total developer's time can easily be calculated from the system varaibles cpInfoFrameCount and cpInfoFPS. Hwever there are no exposed system variables to have the value of the frames per slide, can be calculated as well but I find it much easier to show the TOC which has this built in.

Maybe a JS expert will pop in with a JS script, if you don't want to use advanced or shared actions.

10 replies

Lilybiri
LilybiriCorrect answer
Legend
Jun 11, 2018 7:03 PM UTC

Quite a long time ago I wrote this blog post:

Display Time information - Captivate blog

I tried to explain there the big difference between the 'developer's time' and the real time spent on and needed for a module.

Which time do you want to show? The developer's time, which is in reallity only the duration of the slides as shown in the TOC? I would recommend to use the TOC in that case. If you want to show the real time spent on a module that is something totally different, and can be calculated from the timing system variables.

The total developer's time can easily be calculated from the system varaibles cpInfoFrameCount and cpInfoFPS. Hwever there are no exposed system variables to have the value of the frames per slide, can be calculated as well but I find it much easier to show the TOC which has this built in.

Maybe a JS expert will pop in with a JS script, if you don't want to use advanced or shared actions.

Translate
BP72Author
Known Participant
Jun 11, 2018 7:11 PM UTC

I would like to show the developers time.

Is there a way to extract the value showing the module total time out of the TOC?

Thank you..

Translate
Lilybiri
Legend
Jun 11, 2018 7:16 PM UTC

Maybe a programmer can, sorry I calculate it from the system variables I indicated before. So you want the developer's time, I don't find that so relevant, since there is no link whatsoever with the real time needed for a course. Why not use the TOC?

Translate