Thanks guys, I’ve tried this but the problem is I’m still pretty new when it comes to the actual scripting syntax so i’m not 100% how to implement it. This is what I currently have:
var outputPath=app.project.renderQueue.item(1).outputModules[1].file.name.replace(/%20/g, “_”);
if(app.project.renderQueue.numItems>0)
{
alert(‘Add an output file!’);
}
else
{
output = app.project.activeItem.layers.addText(outputPath);
output.name = “
However, it doesn’t seem to be functioning correctly and I still just get the same error as before.
Any pointers would be great!
Thanks
John