Copy link to clipboard
Copied
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
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
...Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
No delay necessary in that case. Decisions are executed in sequence.