User Guide Cancel

Adobe Captivate Classic variables

  1. Captivate Classic User Guide
  2. Introduction to Captivate
    1. What's New in Adobe Captivate
    2. Adobe Captivate System Requirements
    3. Responsive Project Design with Adobe Captivate
  3. Captivate Classic Release Notes
    1.  Adobe Captivate Classic 11.8.3 Release Notes
    2. Adobe Captivate Classic 11.8.2 Release Notes
    3. Adobe Captivate 11.8.1 Release Notes
    4. Adobe Captivate 11.8 Release Notes
    5. What's New in Adobe Captivate (2019 release) Update 5
    6. What's New in Adobe Captivate (2019 release) Update 2
    7. Adobe Captivate Release Notes
  4. Create Projects
    1. Create different types of projects in Adobe Captivate
    2. Customize the size of an Adobe Captivate project
    3. Responsive Project Design with Adobe Captivate
    4. Create Virtual Reality (VR) projects
    5. Work with responsive text in Adobe Captivate
    6. Work with themes in Adobe Captivate
    7. How to apply view specific properties in responsive projects
    8. How to create backup files for Adobe Captivate projects
    9. Asset panel
    10. Create branching and forced navigation in Captivate
    11. Replace image on the stage
  5. Add and Manage Objects
    1. Work with multi-state objects in Adobe Captivate
    2. Object effects
    3. Insert web objects in Adobe Captivate projects
    4. Work with object styles in Adobe Captivate
    5. How to rotate objects in Adobe Captivate
    6. How to manage objects with the Main Options toolbar
    7. How to merge objects in a slide
    8. How to manage objects in the library
    9. How to group objects in Adobe Captivate
    10. Edit object information using the Advanced Interaction panel
    11. How to copy, paste, and duplicate objects in Adobe Captivate
    12. Control the visibility of objects
    13. How to change the display order of objects in Adobe Captivate
    14. Apply shadows to objects
    15. How to align objects in Adobe Captivate
    16. How to add reflection to objects in Adobe Captivate
    17. Import assets into a Captivate project
  6. Slides
    1. Add slides to an Adobe Captivate project
    2. Editing slides in an Adobe Captivate project
    3. Delete Adobe Captivate project slides
    4. Change slide order in Adobe Captivate
    5. Set slide properties in Adobe Captivate
    6. Add and convert slide notes to audio files with Adobe Captivate
    7. Set up knowledge check slides in Adobe Captivate
    8. How to add slide transitions in Adobe Captivate
    9. How to work with master slides in Adobe Captivate
    10. How to lock Adobe Captivate slides
    11. How to hide or exclude slides in an Adobe Captivate project
    12. How to group and ungroup slides in Adobe Captivate
  7. Timeline and grids
    1. Use rulers and guides
    2. Work with grids in Adobe Captivate
    3. Work with the timeline
    4. Shortcut keys in Adobe Captivate
    5. Working with the filmstrip
    6. How to customize the Adobe Captivate workspace
    7. How to use the Adobe Captivate Library
    8. How to use the Branching panel in Adobe Captivate
  8. Create Quizzes
    1. Insert question slides in Adobe Captivate projects
    2. Set quiz preferences for Adobe Captivate
    3. How to enable learners to submit all quiz responses simultaneously
    4. How to set up question slides with Adobe Captivate
    5. Using random question slides in Adobe Captivate
    6. How to allow users to return to quiz
    7. Import questions from CSV format files
    8. Import questions from GIFT format files
    9. How to insert pretests in Adobe Captivate
  9. Audio
    1. How to insert audio into an Adobe Captivate project
    2. How to preview audio in Adobe Captivate
    3. How to edit audio files with Adobe Captivate
    4. View audio details in Adobe Captivate
    5. Set audio recording preferences and recording audio
    6. How to export audio from Adobe Captivate
  10. Video
    1. Slide videos
    2. Work with event videos in Adobe Captivate
    3. Differences between events and synchronized videos in Adobe Captivate
  11. Interactive Objects
    1. Add interactive buttons to your Captivate projects
    2. Create click boxes in Adobe Captivate
    3. Add text entry boxes with Adobe Captivate
    4. How to add audio to boxes and buttons
    5. How to add JavaScript to boxes and buttons in Adobe Captivate
  12. Interactions
    1. Create drag-and-drop interactions in Adobe Captivate
    2. Use Adobe Captivate variables in widgets
    3. Set the properties of widgets with Adobe Captivate
    4. How to create static, interactive, and question widgets in Adobe Captivate
    5. How to add widgets to your Adobe Captivate project
  13. Non-interactive objects
    1. Create and edit smart shapes
    2. Edit and create text captions with Captivate
    3. How to use images and rollover images with Captivate
    4. How to customize smart shapes in Adobe Captivate
    5. How to create zoom areas in Adobe Captivate
    6. How to set audio for noninteractive objects
    7. How to create rollover slidelets in Adobe Captivate
    8. How to create rollover captions in Adobe Captivate
    9. Change mouse properties in Adobe Captivate
    10. Use highlight boxes in Captivate
    11. Work with swatches in Adobe Captivate
    12. Fix size and position of non-interactive objects
    13. Add animations to a Adobe Captivate project
  14. Advanced Editing and Project Reviews
    1. How to link Adobe Captivate projects
    2. Import, export, and delete content
    3. Skins
    4. Create accessible projects in Adobe Captivate
    5. Create a table of contents (TOC) with Adobe Captivate
    6. Resize Adobe Captivate projects
    7. Projects and project preferences
    8. How to preview projects in Adobe Captivate
  15. Variables and Advanced Actions
    1. Adobe Captivate variables
    2. How to create user-defined variables in Adobe Captivate
    3. Advanced actions in Adobe Captivate
    4. Shared actions in Adobe Captivate projects
    5. Edit or delete user-defined variables in Adobe Captivate
    6. How to assign advanced actions to an event
  16. Record Projects
    1. Create interactive videos
    2. Automatic and manual recording with Captivate
    3. Set recording preferences in Adobe Captivate
    4. Record video demonstrations with Adobe Captivate
    5. How to record software simulations in Adobe Captivate
    6. How to pause recording
  17. Publish Projects
    1. Preview and publish responsive projects
    2. Publish project to Adobe Captivate Prime
    3. Publish projects as HTML5 files with Adobe Captivate
    4. Publish projects as executable files
    5. Publish projects as MP4 files with Adobe Captivate
    6. Set publishing preferences in Adobe Captivate
    7. Using web fonts from Adobe Fonts in Adobe Captivate
    8. Report quiz results to an internal server
  18. Use Adobe Captivate with Other Applications
    1. Import and edit PowerPoint presentations in Captivate
    2. Upload an Adobe Captivate project to a Learning Management System
    3. Learn about the Common JavaScript interface for Adobe Captivate
    4. How to publish Captivate projects to Microsoft Word
    5. Using Adobe Connect with Captivate
    6. How to add Captivate projects to a RoboHelp online help system
    7. How to package multiple SCOs using the Adobe Multi-SCORM Packager
  19. Troubleshoot Adobe Captivate
    1. Resolve known issues and limitations in the latest versions of Adobe Captivate, Adobe FrameMaker, and Adobe RoboHelp.
    2. Early build for Captivate (2019 release) on macOS Big Sur (macOS 11)
    3. Hotfix for VR content not playing on devices
    4. Configure SSL for Live Preview on Devices
    5. Captivate (2019 release) activation issues on macOS Catalina
    6. Captivate responsive courses will not auto-play on browsers
    7. Issues with Asset panel in Adobe Captivate (2019 release)
    8. Error 103 while installing Adobe Captivate
    9. Issues when previewing a Captivate project

  • Now available : Mac OS Catalina compatible Adobe Captivate update for 2019 release users . Get update now!
  • Asset Panel not loading in Adobe Captivate (2019 release)? Read More to find a solution.

In Captivate Classic, variables allow you to add extra functionality to your projects. This article lists all the system and user variables in Adobe Captivate Classic.

To access variables in Captivate Classic, click Project > Variables.

To add new variables to your project, follow the instructions in Creating user-defined variables.

User variables

By default, there are two user variables in Captivate Classic. They are:

Variable name

Default value

Description

cpQuizInfoStudentID

 

Get the ID of a student from LMS.

cpQuizInfoStudentName

 

Get the name of a student from LMS.

System variables

System variables in Adobe Captivate Classic are grouped according to functionalities.

Movie Control

This category lists variables for events that control a movie, such as, pause, resume, previous, next slide.

Variable name Default value Description
cpCmndCC 0 Enable or disable Closed Captioning (CC). Set value to 1 to display closed captions.
cpCmndExit 0 Set value to 1 to exit a movie.
cpCmndGotoFrame -1 Set the value as the frame number to which a movie jumps to and pauses.
cpCmndGotoFrameAndResume -1 Set the value as the frame number to which a movie jumps to and plays.
cpCmndGotoSlide -1 Causes the movie to jump to the specified slide. The index begins at zero.
cpCmndMute 0 Mutes or unmutes the audio. Set value to 1 to mute the audio.
cpCmndNextSlide 0 Set the value to 1 to move to the next slide.
cpCmndPause 0 Pauses a movie. Set the value to 1 to pause the movie.
cpCmndPlaybarMoved 0 Set the value to 1 if the playbar has moved.
cpCmndPrevious 0 Set the value to 1 to go to the previous slide.
cpCmndResume 0 Set the value to 1 to resume the movie.
cpCmndShowPlaybar 1 Displays or hides the playbar . Set the value to 1 to display the playbar .
cpCmndTOCVisible 0 Displays or hides the Table of Contents (TOC). Set the value to 1 to display the TOC.
cpCmndVolume 100 Controls a movie’s volume. The range is zero (mute) to 100 (maximum).
cpLockTOC 0 Enables or disables user interaction with the TOC. Set the value to 1 to disable the interaction.

Movie Information

This category lists variables related to a movie.

Variable name Default value Description
CaptivateVersion v9.0.0 Displays the existing Captivate Classic version.
cpInfoCurrentFrame 1 Returns the current frame number.
cpInfoCurrentSlide 1 Returns the current slide number. The index begins at 1.
cpInfoCurrentSlideLabel   Returns the name of the current slide.
cpInfoCurrentSlideType normal Returns the type of slide playing currently. The slide type can be normal or question.
cpInfoElapsedTimeMS 0 Returns the time, in milliseconds, since the movie started playing.
cpInfoFPS 1 Returns the Frame Rate/Second of the movie in fps.
cpInfoFrameCount 1 Returns the number of frames in the project.
cpInfoHasPlaybar 1 Indicates whether a playbar  is enabled or disabled for the slide. Returns 1 if the playbar is visible.
cpInfoIsStandalone 1 Used to detect if the movie is playing back as a stand-alone Windows (*.exe) or Mac (*.app) executable or as a SWF embedded in a web page. Default is 0. Returns a 1 when playing back as an *.exe.
cpInfoLastVisitedSlide 0 Returns the slide number of the last visited slide. Index begins at zero.
cpInfoPrevSlide -1 Returns the number of the slide previously playing before the current slide. The index begins at 1.
cpInfoSlideCount 1 Returns the number of slides in the project.

Movie Metadata

This category lists variables related to information about a project. You can set the project metadata in the Preferences dialog (File > Project Info).

Project Information
Project Information

Variable name

Default value

Description

cpInfoAuthor

author

Returns the name of the author as set in the project properties.

cpInfoCompany

company

Returns the name of the company as set in the project properties.

cpInfoCopyright

copyright

Returns the copyright information as set in the project properties.

cpInfoDescription

project description

Returns the description of the project as set in the project properties.

cpInfoEmail

author@company.com

Returns the email address as set in the project properties.

cpInfoProjectName

project name

REturns the name of the Adobe Captivate Classic project as set in the project properties.

cpInfoWebsite

http://www.company.com

Returns the URL as specified in the project properties.

System Information

This category lists variables related to information about existing system environment.

Variable name Default value Description
cpInfoCurrentDate dd Returns the current date as set in your computer.
cpInfoCurrentDateString mm/dd/yyyy Returns the current date in the format mm/dd/yyyy.
cpInfoCurrentDateStringDDMMYY dd/mm/yyyy Returns the current date in the format dd/mm/yyyy.
cpInfoCurrentDay 1 Returns a number indicating the day od the week. For example, the variable returns 1 for Sunday, 2 for Monday, and so on.
cpInfoCurrentHour hh Returns the current hour set in your computer in a 24-hr format.
cpInfoCurrentLocaleDateString   Returns the current date based on your computer's locale settings. For example, if the locale set is India, cpInfoCurrentLocale returns 'Mon Jun 27 2016' (while cpInfoCurrentDateString returns '06/27/2016').
cpInfoCurrentMinutes mm Returns the current minutes as set in your computer.
cpInfoCurrentMonth mm Returns the current month as set in your computer.
cpInfoCurrentTime hh:mm:ss Returns the current time in the format hh:mm:ss.
cpInfoCurrentYear yyyy Returns the current year as set in your computer.
cpInfoEpochMS 0 Returns the time elapsed, in milliseconds, since January 01, 1970.
cpInfoMobileOS 0

Returns the type of OS of the mobile device.

  • Desktop-0
  • iOS-1
  • Android-2

Quizzing

This category lists variables related to quiz scores and attempts.

Variable name Default value Description
cpInQuizScope 0 Indicates whether a user is in the scope of the quiz.
cpInReviewMode 0 Indicates whether a user is in a review mode.
cpInfoPercentage 0 Returns the quiz score as percentage.
cpQuizInfoAnswerChoice 0 Returns the answer chosen by a user.
cpQuizInfoAttempts 0 Returns the number of times the quiz has been attempted.
cpQuizInfoLastSlidePointScored 0 Returns the score for the last quiz slide.
cpQuizInfoMaxAttemptsOnCurrentQuestion 0 Returns the maximum number of attempts allowed for the current question.
cpQuizInfoNegativePointsOnQuestionSlide 0 Returns the negative points for the current question slide.
cpQuizInfoPassFail 0 Returns 1 for a passed quiz, else returns 0.
cpQuizInfoPointsPerQuestionSlide 0 Returns the number of points set for the current question slide.
cpQuizInfoPointsscored 0 Returns the total points scored in the project.
cpQuizInfoPreTestMaxScore 0 Returns the maximum score for the pretest questions.
cpQuizInfoPreTestTotalCorrectAnswers 0 Returns the number of correctly answered pretest questions.
cpQuizInfoPreTestTotalQuestions 0 Returns the number of pretest questions in the project.
cpQuizInfoPretestPointsscored 0 Returns the pretest score as points.
cpQuizInfoPretestScorePercentage 0 Returns the pretest score as percentage.
cpQuizInfoQuestionPartialScoreOn 0 Indicates whether partial scoring is enabled for the current question. Returns 1 if enabled.
cpQuizInfoQuestionSlideTiming 0 Returns the time limit in seconds for the current question.
cpQuizInfoQuestionSlideType 0 Returns the question slide type(Multiple-Choice or True-False)
cpQuizInfoQuizPassPercent 0 Returns the passing percentage for the quiz.
cpQuizInfoQuizPassPoints 0 Returns the points set to pass the quiz.
cpQuizInfoTotalCorrectAnswers 0 Returns the number of correct answers.
cpQuizInfoTotalProjectPoints 0 Returns the total quiz points for the project.
cpQuizInfoTotalQuestionsPerProject 0 Returns the number of questions for the project.
cpQuizInfoTotalQuizPoints 0 Returns the total number of points for the quiz.
cpQuizInfoTotalUnansweredQuestions 0 Returns the total number of unanswered questions in the project.

Mobile

This category lists a variable related to geolocation information of a user.

Variable name

Properties

Description

cpInfoGeoLocation

  • Latitude
  • Longitude
  • Accuracy

Returns the geographic location of a user.

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online