Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to add keyframes in multiple Shape Paths within a main Shape Layer with script

  • How to add keyframes in multiple Shape Paths within a main Shape Layer with script

    Posted by John Kre on August 13, 2014 at 9:09 pm

    Hi there,

    I’m currently working on a project that has hundrends of shape paths within many shape layers and I need to insert keyframe automatically for every “path” property that is included in each layer. It seems that there is no hotkey for the “path” property in order to make it appear. I managed to find the certain property and apply a keyframe to the first shape with the use of a script, but i can’t find a way to do it to all of the shape paths within the Contents group. I guess there should be a way to do it with the “for” command.

    app.project.activeItem.selectedLayers[0].property(“Contents”).property(“Shape 1”).property(“Contents”).property(“Path 1”).property(“Path”).addKey(0);

    The only property that changes is the “Shape 1”.

    Thanks in advance!

    John Kre replied 11 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy