Skip to main content
Inspiring
March 23, 2021
Question

Replay slide not working using script. Slide wont play

  • March 23, 2021
  • 1 reply
  • 157 views

Hi

 

I am using a button with the action

Expression

cpCmdGotoSlide = CpInfoCurrentSlide - 1

When I click the button it jumpst to the start of the slide but it do not play the slide.
I tried with a onload action continue with no luck.

Any ideas?

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    March 23, 2021

    The Expression command is only possible in an advanced or shared action. Such an action doesn't release the playhead. If it is important to release the playhead you need to add the command Continue in the action. Check the On Enter event of the slide, do you have perhaps Pause set as action? I ask this because several Quick Start Projects have slides with 'Pause' On Enter (which is a flaw which I reported several times). 

       Expression    cpCmndGotoSlide = cpInfoCurrentSlide -1

       Continue

     

    More information in:

    http://blog.lilybiri.com/replay-or-reset-slide

    http://blog.lilybiri.com/replay-slash-reset-slide-2-captivate-tutorial