Where I would pass a script in an html element if I wanted to communicate with CPTV8

Hello

I'm doing a few variables changer simple html files that I can drag and drop into captivate.

I want they call to seduced cpInfo and cpCmnd systems-related variables. IKNOW that scripts work as I can make them work captivates window clean script.

I just need them to work from a web object.

My html code is as follows.

//////////////////////////////////////////////////

< html >

< head >

< script >

Window.OnLoad = function() {}

window.cpAPIInterface.next ();

};

< /script >

< / head >

< body >

< / body >

< / html >

/////////////////////////////////////////////////////

I thought it would work, but nothing happens.

Any help would be appreciated.

See you soon

Luke

OK I cracked!

It helps capture to have a receiver script. Something like this:

function Tell_me (string)

{

window.cpAPIInterface.setVariableValue ("Issues", string);

}

and the html file has a sender script. Like this:

The data is sent from one to the other. I think I can do a lot with that here on.

Tags: Adobe Captivate

Similar Questions

Maybe you are looking for

  • create the executable (*.exe) file

    I could create and executable file (*.exe), but it does not all libraries (*.dll) necessary, IE NIVIsSVc.dll, imaq1349.dll... So I was wondering if someone could guide me to create an executable file with all the necessary libraries to run on a diffe

  • Error - "the CD key you entered is invalid" when trying to install the Windows XP computer.

    Original title: Windows XP CD Key can expire? My old machine with Windows XP installed should be trashed. I want to install Windows XP on a netbook Eee. The Win XP CD is a CR - ROM with the retail CD. It was given by my former neighbor who worked at

  • BlackBerry smartphone password for Blue Tooth connection

    Hi all. New owner of the 9000 "BOLD". I am trying to connect via BlueTooth to another phone.  It requires a kind of password on both phones.  I tried to use my 10-digit phone number, but he doesn't like it. I thought that as long as I give the other

  • Totally blocked LR

    I downloaded Lr 6 April 2016Gradually, it idle and some functions stopped working (for example a swab).Now it opens at all; the disc bit colored on my Mac everything runs and runs...My Mac (OS X Capitan 10.11.6) gives me a very very long list of code

  • All instances of object in the master page

    I have a field of text at the top of my master page object. When the user selects from a drop-down list object, background color of the text box must change from white to green, yellow or red. I have created the script to the change event of the fall