Re: Quick effects palette
Posted: June 9th, 2010, 7:50 am
Fantastic, will try it out!
Code: Select all
var newAdjLayer = app.project.item(index).layers.addSolid(color, name, width, height, pixelAspect, duration);
newAdjLayer.adjustmentLayer = true;
Code: Select all
function CCBase(){
app.beginUndoGroup("CCBase");
if ((app.project.activeItem == null) || ((app.project.activeItem != null) && !(app.project.activeItem instanceof CompItem)))
{
}
else
{
var comp = app.project.activeItem;
var layerCollection = comp.selectedLayers;
for (idx=0;idx<layerCollection.length;idx++)
{
layerCollection[idx].Effects.addProperty("Levels");
var sBlur=layerCollection[idx].Effects.addProperty("s_Blur");
sBlur.property("Blur Amount").setValue(1);
var ccComposite=layerCollection[idx].Effects.addProperty("CC Composite");
ccComposite.property("Opacity").setValue(60);
}
}
app.endUndoGroup();
}
Code: Select all
ccComposite.property("Composite Original").setValue(18);
var But_18=["Front",
"preset",
"C:\Program Files\Adobe\Adobe After Effects CS5.5\Support Files\Presets\Zalando\Front.ffx"];
layerCollection[idx].applyPreset(myPreset);