I have a script that adds an item to the render queue and then changes the path to a user given directory.
The code is taken out of context:
Code: Select all
var renderQueue = app.project.renderQueue;
var rqitem = renderQueue.items.add(some_composition);
var newPath = "/tmp/test"; // or some other user-given string
if ( rqitem.outputModule(1).file.changePath(newPath) != true )
alert ("Problem changing path") ;
renderQueue.render();
Thanks.