-
How to add keyframes in multiple Shape Paths within a main Shape Layer with script
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!
Sorry, there were no replies found.