StyleEdit
Button btn_1 { Function OnTouch( e ) { var ss = ^.StyleEdit1.GetWrappedString(); var fs = new FileSystem; var fp = fs.open("sample.txt",FileSystem.OPEN_WRITE); fp.write(ss); fp.close(); } }