Hey Dan,
Also this is similar question in relation to the alert that you might be able to help with.
I have the following code that works really well at getting the information from my function but it keeps over writing the file with the new keyframe if I have five keyframes. If I have one it works well but if I have multiple they over write each other. I’m sure it’s because of the way I am calling the information from my function but I’m not sure how to fix it.
Any help would be great. Thanks!
var myFileName = "example.txt";
var myFilePath = "~/desktop/" + escape(myFileName);
var myMessage = "keyframe: " + i +" Cubic-bezier["+x1r+", "+y1r +", "+x2r+", "+y2r +"]";
var myFile = new File(myFilePath);
myFile.open("w");
myFile.write(myMessage);
myFile.close();