-
Match Properties Selection
Hi friends! Hope you´re all doing good!
I´m trying to create a script that you can select layers and some properties and match the selection of the properties. I mean, all selected layers would have the same properties selected.
I´m almost there, it works great with: position, rotation, scale, opacity. But, doesn´t work with any other property.
Here is the script so far:
<b style="">var myComp = app.project.activeItem; //selected properties var myProps = myComp.selectedProperties; for (var p = 0; p < myProps.length; p++){ //selected layers var myLayers = myComp.selectedLayers; for (var l = 0; l < myLayers.length; l++){ // select matched properties for selected layers myLayers[l].property(myProps[p].name).selected = true <b style="">}};