Saving variable in text file issue
Jan 10, 2018
var fso = new ActiveXObject("Scripting.FileSystemObject");
var s = fso.OpenTextFile("D:\\Test.txt", 8, true, 0);
var player = GetPlayer();
var name = player.GetVar("TextEntry");
s.WriteLine("Name: " + name);
I have set "TextEntry" variable as "Welcome". But when I execute the code nothing happening. What am I doing wrong here? OR Is it due to trial version the variable is NOT saved into a text file?
I have published as HTML5 content and viewed in a browser, also published as CD version. Both format did not saved variable to the text file.
This discussion is closed. You can start a new discussion or contact Articulate Support.