Michael recently posted the exhaustive list of Captivate 4 system variables in his blog. Below is a vetted version of the same. Some more variables have been added and the default value for the quiz variables have been defined..
MovieControl variables:
Variable name |
Default value |
Description |
|
cpCmndCC |
0 |
Enable/ disable closed captioning (CC). Set value to 1 to display closed captions. |
|
cpCmndGotoSlide |
-1 |
Assign the slide number that the movie should move to before pausing. Index begins with zero |
|
cpCmndMute |
0 |
Mute the audio. set 1 to mute and 0 to un-mute |
|
cpCmndPlaybarMoved |
0 |
Set to 1 if the playbar has moved |
|
cpCmndShowPlaybar |
1 |
Provides info about the visibility of the playbar. Returns 1 if the playbar is visible, and O if not visible |
|
cpCmndVolume |
50 |
Control the movie’s volume. Value can range from 0 to 100 |
|
rdcmndGotoFrame |
|
Assign the frame number the frame should jump to before pausing. Index begins with zero. |
|
rdcmndGotoFrameAndResume |
|
Assign to this variable the frame number to jump to and play. Index begins with zero |
|
rdcmndNextSlide |
0 |
Go to the next slide. Set 1 to jump to next slide |
|
rdcmndPause |
0 |
Pause the movie. Set 1 to pause |
|
rdcmndPrevious |
0 |
Go to the previous slide. Set 1 to jump to previous slide |
|
rdcmndResume |
0 |
Resume playing the movie. Set 1 to resume. |
|
cpLockTOC |
0 |
Enables/ disables user interaction on TOC |
|
rdcmndExit |
0 |
Exit the movie. set 1 to exit |
MovieInformation variables:
Variable name |
Default value |
Description |
cpInfoCurrentSlide |
|
Current slide number. Index begins with 1 |
cpInfoCurrentSlideLabel |
|
Name of the Current Slide |
cpInfoCurrentSlideType |
|
Type of slide playing currently. (Slide type can be Normal Slide, Question Slide, or Random Question Slide) |
cpInfoHasPlaybar |
|
Information about presence of playbar. Returns 1 if visible and 0 if not |
cpInfoIsStandalone |
|
? No idea what this is. |
cpInfoLastVisitedSlide |
0 |
Last visited slide. Index begins with zero |
rdinfoCurrentFrame |
|
Current frame number. Index begins with zero |
rdinfoCurrentSlide |
|
Current slide number. Index begins with zero |
rdinfoFPS |
30 |
Frame rate of the movie in fps |
rdinfoFrameCount |
|
Total number of frames in the project |
rdinfoSlideCount |
|
Total number of slides in the project |
cpInfoElapsedTimeMS |
0 |
Time elapsed, in milliseconds, since the movie started playing |
cpInfoPrevSlide |
|
Slide Previously playing before current slide |
CaptivateVersion |
v4.0.0 |
Shows the Captivate version |
rdcmndInfo |
0 |
Display information about Adobe Captivate |
MovieMetaData variables:
Variable name |
Default value |
Description |
cpInfoAuthor |
|
Name of the author |
cpInfoCompany |
company |
Name of the company |
cpInfoCopyright |
copyright |
Copyright Info |
cpInfoDescription |
project description |
Description of the project |
cpInfoEmail |
e-mail address |
|
cpInfoProjectName |
|
Name of the Adobe Captivate project |
cpInfoWebsite |
URL of the company website in the format www.companyaddress.com |
SystemInformation variables:
Variable name |
Default value |
Description |
cpInfoCurrentDate |
dd |
Current Date: The date as set on the user’s computer |
cpInfoCurrentDateString |
mm/dd/yyyy |
Current Date as set on the user’s computer in the mm/dd/yyyy format |
cpInfoCurrentDay |
|
Day of the week as set on the user’s computer. Values range from 1-7 starting with Sunday. Sunday=1, Monday=2, and so on) |
cpInfoCurrentHour |
hh |
Current hour: The hour set as on the user’s computer |
cpInfoCurrentMinutes |
mm |
Current minutes: The hour set as on the user’s computer |
cpInfoCurrentMonth |
mm |
Current month: The month as set on the user’s computer |
cpInfoCurrentTime |
hh:mm:ss |
Current time as set on the user’s computer in the hh:mm:ss format |
cpInfoCurrentYear |
yyyy |
Current year as set on the user’s computer |
cpInfoEpochMS |
|
Time elapsed, in milliseconds, since January 01, 1970 |
Quizzing variables:
Variable name |
Default value |
Description |
cpQuizInfoAnswerChoice |
Chosen Answer |
|
cpQuizInfoAttempts |
1 |
Number of times the quiz has been attempted |
cpQuizInfoLastSlidePointScored |
0 |
Score for last quiz slide |
CpQuizInfoMaxAttemptsOnCurrentQuestion |
0 |
Maximum attempts on the current question |
cpQuizInfoNoQuestionsPerQuiz |
0 |
Number of questions in quiz |
cpQuizInfoPointsPerQuestionSlide |
0 |
Points for the question slide |
cpQuizInfoPointsscored |
0 |
Points scored in the project |
cpQuizInfoQuestionSlideTiming |
0 |
Time limit in seconds for current question |
cpQuizInfoQuestionSlideType |
choice |
Question slide type(Multiple-Choice/True-False/..etc) |
cpQuizInfoQuizPassPercent |
0 |
Passing percentage for the quiz |
cpQuizInfoQuizPassPoints |
0 |
Passing points for the quiz |
cpQuizInfoTotalCorrectAnswers |
0 |
Number of correct answers |
cpQuizInfoTotalProjectPoints |
0 |
Total project points |
cpQuizInfoTotalQuestionsPerProject |
0 |
Number of questions per project |
cpQuizInfoTotalQuizPoints |
0 |
Final quiz score |
cpQuizInfoTotalUnansweredQuestions |
0 |
Total number of unanswered questions |
cpInfoPercentage |
0 |
scoring in percentage |
Update: Also look at Philip’s post on Cp variables: Captivate variables gone wild
Hello Kiiwii,
Can you try clearing the preferences and launching captivate 4? If it doesn’t help, please email me at viswanat@adobe.com
Thanks,
Vish
Hi There
Great post but I can’t see the information I need.
I need to be able to allow my user to type anything into certain fields rather than the specific data I put in during the process. They just need to type something followed by “enter” in order to go to the next entry point.
Would I do this with a variable and if so, what variable would I use?
Any help is much appreciated.
Thanks muchly
Richard
Where are these variables anyway? If I use Loader.load to load a captivate swf… are these variables going to be on the Loader.content object? How does one access or set these variables? This post is like … HEY, there are these variables (insider info) and um… that’s all, figure it out yourself! Why the hell isn’t this in some official documentation and why are the variables names so cryptic?
I’ve never used the quiz variables. How do these work in an actual implementation? For example, can I just use:myButton.onRelease = function(){cpMovie.cpQuizInfoTotalQuizPoints = 100;}and then expect the Captivate movie to make the call to the LMS for tracking? I’m guessing not, since the quiz variables are all prefaced with cpQuizInfo (versus something like cpQuizCmnd) and perhaps are just read-only? And even if they are settable, will the setting trigger the LMS tracking call?
You must be logged in to post a comment.