Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Time Limit for complete Quiz in Adobe Captivate 8

Explorer ,
Mar 21, 2017 Mar 21, 2017

Hello! I'm using Adobe Captivate 8 and I know that it is possible to set up a time Limit on every slide. Does anyone know a solution if I Need a timelimit for the whole quziz? I'm looking forward to your answere. Kind regards from Vienna by Gerhard.

TOPICS
Quizzing and LMS
807
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 21, 2017 Mar 21, 2017

I use Timer or Hourglass interaction to achieve it. Have a look.

Translate
People's Champ ,
Mar 21, 2017 Mar 21, 2017

I imagine it would be easy enough to start a timer as soon as the first quiz question is encountered.

What would you want to happen if the time runs out?

This script runs every second for 50 minutes, the variable timeLimit is the number of seconds for the total time allowed. It's automatically triggered when you encounter the first question slide and works for SWF and HTML5.

var interfaceObj, eventEmitterObj;
var timerStated = false;
var timeLimit = 3000;

window.addEventListener( 'moduleReadyEvent', function ( e )
{
interfaceObj = e.Data;
eventEmitterObj = interfaceObj.getEventEmitter();
initializeEventListeners();
});

function initializeEventListeners()

if ( interfaceObj )
{
  if ( eventEmitterObj )
  {
   eventEmitterObj.addEventListener( 'CPAPI_SLIDEENTER', function ( e )
   {     
    if (  e.Data.st == "Question Slide" && !timerStarted )
    {
     timerStarted == true;
     startTimer()
    }
   }); 
  }
}
}

function startTimer()
{
    setInterval( function ()
{
        timeLimit--;

        if (timeLimit < 0)
  {
            //do something
        }
    }, 1000 );
}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 31, 2017 Mar 31, 2017

Thank you very much for this solution and for quick answering the request! Kind regards from Austria!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 21, 2017 Mar 21, 2017

I use Timer or Hourglass interaction to achieve it. Have a look.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 31, 2017 Mar 31, 2017

Thank you very much for this solution and for quick answering the request! Kind regards from Austria!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 31, 2017 Mar 31, 2017
LATEST

Gern geschehen, Gerhard!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources