I am rendering a project several times, and use a script to change some of the input. However, I have not figured out how to change the name of the output file in the script.
This is basically my script. I left the details of my modifying function out as they are irrelevant.
app.beginSuppressDialogs();
{
var projectFile File("C:\\AfterFX\\MyProject.aep");
app.open(projectFile);
MyCustomDataExchangeFunction();
app.executeCommand(3800);
}