Skip to main content
Known Participant
September 7, 2017
Question

Copying and pasting javascript in advance actions not working

  • September 7, 2017
  • 21 replies
  • 2153 views

Hi

I'm using Captivate 9 and have recently run into a bug or something.

I've created a basic slide to allow me to test some Javascript. I have the Javascript working as it should, assigned to a smart shape button.

I wanted to add the code to a conditional action but when I copy and paste the Javascript in the script window inside a conditional action and select ok, then re-open the script window all the code has disappeared.

It's not a massive amount, but it would be quite tedious to type from scratch. I tried typing in a bit of code and closing the script window and then re-opening it and the typed code stays in. It seems if you paste code into the script window within a conditional action it doesn't stay there.

This seems really bizarre. Has anyone else had any similar experiences?

This topic is closed to new replies. Start a new post to keep the conversation going.

21 replies

Lilybiri
Legend
September 7, 2017

I cannot really help you because I have no longer a CP9 license. However in this article I did paste JS in the JS window and it is in a conditional action (scroll to the end of the article):

Playing with Numbers - part 2 - Captivate blog

It was created with 9.0.2.437. Do you use that latest version of 9?