May 15, 2009

List of System Variables in Cp4

,,

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

author@company.com

e-mail address

cpInfoProjectName

 

Name of the Adobe Captivate project

cpInfoWebsite

www.company.com

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

Posted by N Ravi Kiran3:52 PM
  • http://www.elearninglive.com Mark

    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?

  • Ric Robinson

    Which if any of these system variables work in Captivate 3? Thanks.

  • patti

    When writing Captivate matching and sequence questions, has anyone found way to exclude the lines between the two columns to pair and order? They often are “off-line” actually creating more confusion that help. Thanks for your ideas…

  • http://www.antenka.net John

    I liked it. So much useful material. I read with great interest.

  • http://www.mediamarche.com/ Peter

    Are you a professional journalist? You write very well.

  • N Ravi Kiran

    Quizzing variables can be set from Action script but they will be overwritten by Cp everytime a user take a Question.

  • http://www.eurotablets.eu/ Bunker

    Interesting and informative. But will you write about this one more?

  • http://www.art-du-bureau.com/ Kouba

    Hmm… I read blogs on a similar topic, but i never visited your blog. I added it to favorites and i’ll be your constant reader.

  • http://www.rockyshoresresort.com/ Peter

    Are you a professional journalist? You write very well.

  • Triynko

    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?

  • http://www.loopyinlove.com loopylove

    That was a very interesting post, I enjoyed reading it. You are so right.

  • http://emp3skyline.com/ Dr. House

    interesting, thanks for tables

  • http://www.inspiredrichard.com Richard

    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

  • Hamilton Limo Service

    Interesting and informative but can you elaborate more of these. Thanks!

  • ipswich limousine

    Informative, i appreciate your work. All the best!

  • http://www.facebook.com/profile.php?id=100001607560335 Kiiwii Henare

    My system variables are not listed in my Captivate 4, does anyone know how to fix?

    • vish

      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

  • Loading
  • Categories

  • Archives

  • Authors

  • Recent Comments

    • Richard Broom: This is a very good point. In Captivate 7 I could (and did) publish to .exe and .dmg. This facility is...
    • Megan Hamilton: I’m using Captivate 7 and have a question…I created a quiz and have an advanced action...
    • Carolina: Hey i have a question for Captivate 8, i try to export my project in .exe and i cant find the way to do...
    • Lynn LCC: I am on Captivate 8 and using Windows 7 and Office 2013. When I try to convert PowerPoint presentations, I...
    • Jeffrey: Thanks Dan. I have done just that on the TOC. It does collapse and expand as the client desires, I was...
  • Captivate & eLearning Videos

    Subscribe to Adobe eLearning on YouTube.

    Check out the latest eLearning Videos on AdobeTV

Recently Approved