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

Use both standard action and conditional action scripts on same slide upon entry

Explorer ,
May 25, 2016 May 25, 2016

I want two different types of action scripts to run on slide enter of the same slide, one second apart.

1st script:  populate a variable with current date.  This is straight forward standard action.

2nd script (run 1 sec after first script):  If the above variable is more than current date, do this.  This is a conditional action.

How do I get Captivate to execute these two actions upon entering the same slide?  I can do it if 1st script is on previous slide, and the 2nd script on the second slide.  However that doesn't seem right.  I want these two scripts to run upon enter of the same slide.  I am using CP8.  Any suggestions would be greatly appreciated.

Thank you,

Sharon

330
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 , May 25, 2016 May 25, 2016

You'll have to use two decisions, where the first decision is a mimicked standard action, using a condition that always results in True:

First decision 'Always'

  IF 1 is equal to 1

      Assign v_one with..                         the commands of your standard action

Second decision ' ....'

   IF      v_one is equal to cpInfoCurrentDateString                         your conditional action

However, in CP8 it is NOT possible to delay commands by 1 second, that is only possible in CP9. Why do you want

...
Translate
Community Expert ,
May 25, 2016 May 25, 2016

You'll have to use two decisions, where the first decision is a mimicked standard action, using a condition that always results in True:

First decision 'Always'

  IF 1 is equal to 1

      Assign v_one with..                         the commands of your standard action

Second decision ' ....'

   IF      v_one is equal to cpInfoCurrentDateString                         your conditional action

However, in CP8 it is NOT possible to delay commands by 1 second, that is only possible in CP9. Why do you want to postpone the check?

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 ,
May 25, 2016 May 25, 2016

Thank you so much for the information! I will definitely check it out.  I wanted to delay the 2nd action by 1/10th second because the 2nd action is dependent on the 1st action's result.

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 ,
May 25, 2016 May 25, 2016
LATEST

No delay necessary in that case. Decisions are executed in sequence.

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