I want to pass some information in my Storyline course back to an application. Seems this is simply done by writing a cookie, then jumping to the url and having my program read the cookie.
My first trigger on the slide is:
var player = GetPlayer();
var Scorepoints = player.GetVar("Resuts.scorepoints");
document.cookie = "scorepoints" + "=" + scorepoints + "; "
Neither cookie is written.