Yes, this is totally possible. Read the text in the edittext, create a new File object, and then write it to it. When reading, create a new File object, read it, and then set the edittext value to the text you read. See examples below: // Build Window var resStr = 'palette{orientation:"column", alignChildren:["center", "top"], text: "Write", size:[380,110],\ txt: EditText{text:"to write", alignment:["fill", "center"]},\ }'; myWin.window = new Window(resStr); myWin.window.show(); var myFile = new File('path/to/my/file'); // Get text var myText = myWin.txt.text; // Write File myFile.open('w', undefined, undefined); var writeResult = myFile.write(myText); myFile.close(); // Read File myFile.open('r', undefined, undefined); var newText = myFile.read(myText); myFile.close(); // Set text myWin.txt.text = newText;
... View more