Skip to main content
June 17, 2015
Question

Can you use a variable to the hold the URL in the Advanced Action Open URL or file?

  • June 17, 2015
  • 2 replies
  • 330 views

When I try using the Advanced action of Open URL or file, I would like to use a user variable that I set instead of hard-coding the URL in the advanced action line, but I don't see anyway to do it.

Is there anyway to use a variable in the Open URL function under Advanced Actions, such as $$VarThatHoldsUrl$$?

I am using Captivate 8 with the latest updates.

Thanks.

Randy

This topic has been closed for replies.

2 replies

TLCMediaDesign
Inspiring
June 17, 2015

If you execute JavaScript you can. myURL is the cp variable that holds a URL.

var cp = document.Captivate;

var newURL = cp.cpEIGetValue("myURL");

window.open(newURL);

Lilybiri
Legend
June 17, 2015

Not possible AFAIK. Jim Leichliter had a widget (for CP6) that allowed this, but that was for SWF output only and he has stopped his business