Saving variable in text file issue
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.