Scripting


To check the layer type name use:

alert(mySelectedLayer.matchName);

A declared function will persist throughout the after effects session.

Tha tmeans that if you declared a function called createComp and then deletes that function and run the script again the function createComp will still exist in memory. This can lead to some unexpected results.

Leave a Reply

Your email address will not be published. Please enter your name, email and a comment.

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>