This is an upgrade to the previously posted widget Variables in Button URL. This upgraded version will work with Adobe Captivate 4 and 5.x and is built on the WidgetFactory Platform. Unlike the previous version, this one supports both success and failure “Open URL or File” actions.
The Cp Author would insert their variables surrounded by double dollar signs in the URL field of the button:
When the user clicks the button at runtime (or fails to click the button), the variables are replaced with their respective values as shown:
The Captivate 4 or 5.x project must be published for AS3 and FP10+.