FORUMS: list search recent posts

change the name of effect with scripts!!!

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Shahrokh Jahanzadeh
change the name of effect with scripts!!!
on Apr 5, 2013 at 11:27:54 pm

Hi guys,
I have a question about scripting in after effects

as we know, we can use this codes to apply an effect -like fast blur- to a layer or selected layer:

var mayEffect = app.project.activeItem.selectedLayers[0].Effects.addProperty("Fast Blur");

It`s ok, I know.
But my question: how can I change the name of effect with scripts???!!!
for example change the name of Fast Blur to My Blur in Effects Control Panel just with scripts...

-Shahrokh


Return to posts index

Dan Ebberts
Re: change the name of effect with scripts!!!
on Apr 6, 2013 at 3:15:49 am

Just add this:

mayEffect.name = "My Blur";

Dan



Return to posts index

Shahrokh Jahanzadeh
Re: change the name of effect with scripts!!!
on Apr 6, 2013 at 8:11:01 am

Thank you very much Dan...

-shahrokh


Return to posts index

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