Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesCreative Cloud DebateFAQ

Re: Replace Footage Script

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Dan EbbertsRe: Replace Footage Script
by on Apr 26, 2012 at 7:53:59 pm

This should be pretty close:


{
var proj = app.project;
var comp = proj.item(2);
var movFolder = proj.item(3);
for (i = 1; i <= movFolder.numItems; i++) {
var newSource = movFolder.item(i);
var newComp = comp.duplicate();
newComp.layer(3).replaceSource(newSource, true);
newComp.name = newSource.name.split(".")[0];
app.project.renderQueue.items.add(newComp);
}
}




Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]