ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

mocha Pro 5 Plug-In for Adobe: add effect on the hotkeys in AE

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
ilya yakimocha Pro 5 Plug-In for Adobe: add effect on the hotkeys in AE
by on Sep 15, 2016 at 10:11:29 pm

Hi, I find and modifed this little script, and appointed him to the hotkey to quickly create the effect,
var comp = app.project.activeItem;
if(comp && comp.selectedLayers.length > 0){
for(var i = 0 ; i < comp.selectedLayers.length ; i++){
var errors = '';
var layer = comp.selectedLayers[i];
var fx = layer.Effects.addProperty('mochaProAE');
fx.name = 'mocha Pro'
if(errors != ''){alert('Could not set the following parameters : \n' + errors)};
};
}else{
alert('You need at least one selected layer');
};

its work fine and my question is what should be in it to write more, and after create effect he opened the Mocha window processed automatically ?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]