-
Replace Footage Script
Hello,
I’m trying to create a script that will duplicate my _template comp, replace footage in the comp with another item in my movs folder. Then repeat this process until all movs have their own comps .
my file structure:
project
comps
_template
movs
lastname_firstname_asset
lastname_firstname_asset
lastname_firstname_assetso far I have…
var proj = app.project;
proj.item(1).item(1).duplicate();
proj.item(1).item(2).replaceSource(proj.item(2).item(2));
proj.item(1).item(2).name = proj.item(1).item(1).layer(3).name;I’ve realized replaceSource is used for c:// drive destinations.
What other method could I use?