I'm creating a very simple GUI in ExtendScript and I'd like to know how to save and open any user inputs from the "edittext" boxes that I've created. How would I be able to add a "file>save" and "file>open" menu to save and retrieve any user inputs?
//GUI Design
var myWin = new Window ("palette", "EditTextTest", undefined);
myWin.orientation = "row";
var groupOne = myWin.add("group", undefined, "GroupOne");
groupOne.orientation = "column";
groupOne.add("statictext", undefined, "Player 01 Name");
var etOne = groupOne.add("edittext", undefined, "");
etOne .characters = 10;
groupOne.add("statictext", undefined, "Player 02 Name");
var etTwo = groupOne.add("edittext", undefined, "");
etTwo .characters = 10;
groupOne.add("statictext", undefined, "Player 03 Name");
var etThree = groupOne.add("edittext", undefined, "");
etThree .characters = 10;
groupOne.add("statictext", undefined, "Player 04 Name");
var etFour = groupOne.add("edittext", undefined, "");
etFour .characters = 10;
groupOne.add("statictext", undefined, "Player 05 Name");
var etFive = groupOne.add("edittext", undefined, "");
etFive .characters = 10;
myWin.center();
myWin.show();