Copy link to clipboard
Copied
Hi,
I am trying to simply change the output directory in my output module to a new path and I get errors.
I have this code:
var new_Path = "/path/";
app.project.renderQueue.item(1).outputModule(1).setSetting(new_Path);
and I get this error:
Hi again,
I actually solved it like this:
app.project.renderQueue.item(1).outputModule(1).file = new File("/path" + myComp.name);
I am not sure if this is the best way but it worked. If anyone has a better idea, please share.
Cheers!
Copy link to clipboard
Copied
Hi again,
I actually solved it like this:
app.project.renderQueue.item(1).outputModule(1).file = new File("/path" + myComp.name);
I am not sure if this is the best way but it worked. If anyone has a better idea, please share.
Cheers!