Error running script with AE7
Posted: March 23rd, 2006, 12:12 pm
I have a script I wrote a while back for a client. He recently switched to 7 and got an error. I've pasted the lines around the error. Did any of these methods change in 7? I don't have AE7 yet to test it unfortunately. The last line is the one that produces the error.
Code: Select all
var time = new Date();
var day = time.getDate();
var month = time.getMonth()+ 1;
var istring = month + "-" + day;
var currFile = proj.file;
var currFileName = "Photo Montage";
var newFile = File(currFile.path + "/" + currFileName + "_" + istring + ".aep");