-
mocha Pro 5 Plug-In for Adobe: add effect on the hotkeys in AE
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 ?
Sorry, there were no replies found.