Can't get File.copy(target) to work.
Hi,
I'm writing a script where I want to copy a file to another location after the render has finished, but I can't get the File.copy() method to work.
Here's a snippet of the code:
app.project.renderQueue.render();
var renderedFile = app.project.renderQueue.items[1].outputModules[1].file;
renderedFile.copy("c:\\");
The render works fine and renderedFile.fullName returns the correct path and name, but the actual copying just doesn't work.
I have made sure that scripts are allowed to access files and network.
thanks
Ludde