Im trying to create a script that automates the "collect files" function for the watch folder and i have some problems. Maybe some of you can give me some tips.
I study what after effects is doing when i create a collected folder:
- its creating a new folder with the same name as the project
- its creating in this folder the after effects file, and two text files.
- (if you activate collect items then it will create a footage folder, but i dont need that)
One of these TXT Files is the RCF (render control file). It looks like it doesnt need the second TXT File for starting the render in the watch folder
Ok, so i thought, i would recreate these steps per script:
Creating a folder:
var myFolder = new Folder(theFolder);
Saving the after Effects File into that folder:
var myRenderSave = File(newFile);
Create the TXT File with the RCF informations:
var myFilePath = "myFolder+"/"+newFile+"_RCF.txt";
var myFileTXT = new File (myFilePath);
myFileTXT.lineFeed = "windows";
myFileTXT.writeln("After Effects 11.0v1 Render Control File");
Everything is looking good so far. It looks like the folder AE is creating by "collecting files"... But it doesnt work!
Does the TXT File has to be in a special format? If yes, how can i do that?
Do i oversee something? if that works, it would be a great workflow optimizer for our production - Per one click i could send renderjobs to our renderserver.
thx for any tips!