I am having problems trying to save a file in a location where I can later access it. I am developing a simple app that downloads a .csv file that is then rearranged and saved as another file. I need to be able to access the rearranged file so it can be imported into another app. I have been playing with the code below but I can't find the location of the file that it should create. Any guidance would be greatly appreciated!!!!
function OnStart()
{
//var myPath = app.GetInternalFolder()
var myPath = app.GetExternalFolder()
var myFile
myFile = myPath + "/myFileText.txt"
app.WriteFile( myFile, "Hello World from Write\n", "Append" );
var txt = app.ReadFile(myFile);
alert("txt= " + txt + " ....myFile " + myFile)
var length = txt.split("\n").length;
app.ShowPopup("myFile contains " + length + " lines");
}
On another note, I seem to remember a post about purchasing a lifetime subscription for $99. I currently subscribe monthly. if the lifetime subscription is available, how doI purchase it?
Thanks in advance