Hi Marcos,
I don't have access to InDesign right now, so I can't check if it works, but I suggest you to make a couple of minor changes to RecordFindChange script:
change
var myData = collectData();
writeData ( myData );
to
var myData = "\r" + collectData();
WriteToFile(aData);
and use this function
function WriteToFile(myText) {
myFile = new File("/C/Program Files/Adobe/Adobe InDesign CS3/Scripts/Scripts Panel/Samples/JavaScript/FindChangeSupport/FindChangeList.txt");
if ( myFile.exists ) {
myFile.open("e");
myFile.seek(0, 2);
}
else {
myFile.open("w");
}
myFile.write(myText);
myFile.close();
}
instead of WriteToFile()
myFile should point to your FindChangeList.txt file
Kasyan