I've been using this script below to capture some free text responses etc.
If I publish the file and open the .story file, it asks for permission to run ActiveX which is absolutely fine, then it does what I need it to do and writes to a txt file on my network.
var fso = new ActiveXObject("Scripting.FileSystemObject");
var s = fso.OpenTextFile("T:\\HR\\Folder\\SubFiolder\\Sub Folders\\results.txt", 8, true, 0);
var player = GetPlayer();
var name = player.GetVar("Username");
var text = player.GetVar("TextEntry1");
var email = player.GetVar("TextEntry2");
var box = player.GetVar("TextEntry3");
s.WriteLine("First name: " + name);
s.WriteLine("Surname: " + text);
s.WriteLine("Answer 1: " + email);
s.WriteLine("Answer 2: " + box);