3

I actually found the answer in the CS3 scripting guide. CompItem#selectedLayers actually returns an array of AVLayer objects. AVLayer is a subclass of Layer and has quite a few attributes. Here are a few of them: Masks Effects Anchor points Position Scale X Rotation Y Rotation Opacity Oddly enough, when calling these attributes you need to pay attention ...


3

Aerender does what it says on the tin: it just renders. It can save a comp after rendering if there's a post-render action like setting proxies, but AFAIK it has no other capability to modify projects (figures, because it is available to put on as many machines as you want, so they don't want to be giving away a program capable of editing .aep files). To ...


2

I found the right property that has to be changed and wrote a function that does the job: function renameComposition(newName) { var curComp = null; for (var i = 1; i < app.project.numItems +1; i++) { if(app.project.item(i) instanceof CompItem) { curComp = app.project.item(i); curComp.name = newName; } }...


Only top voted, non community-wiki answers of a minimum length are eligible