Skip to main content
Known Participant
June 11, 2018
Answered

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

  • June 11, 2018
  • 1 reply
  • 1951 views

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 has been closed for replies.
Correct answer Lilybiri

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.

1 reply

Lilybiri
LilybiriCorrect answer
Legend
June 11, 2018

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.

BP72Author
Known Participant
June 11, 2018

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..

Lilybiri
Legend
June 11, 2018

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?