## Forum Replies Created

Page 1 of 4
• ### Juanluis Vich

December 20, 2022 at 9:40 am

oh! that works!!
thank you so much for the solution! i had started trying complicated matrix transformation options and had lost sight of the big picture!

• ### Juanluis Vich

June 25, 2022 at 3:11 am in reply to: script to swap the positions of n layers?

this!!! thank you very much!! it’s awesome!

• ### Juanluis Vich

May 17, 2022 at 8:56 pm

Dan, thank you very much, it works wonderfully!

• ### Juanluis Vich

June 15, 2020 at 7:02 am in reply to: link value effect above on same layer

Awesome, thank you!

• ### Juanluis Vich

November 5, 2019 at 2:58 am in reply to: Finding color property of a shape layer.

Hi!
love this snippet!
Is there a way to get these colors from the shape layer and add a color control for every found color?
That would be amazing!
Thanks!

• ### Juanluis Vich

August 13, 2019 at 8:51 pm

thank you! it works for now

that absolute position for the vertex connect expression would be a really awesome trick! I don’t know if that’s possible?

• ### Juanluis Vich

March 24, 2019 at 1:29 am in reply to: Group shapes

thanks a lot for the help!!

• ### Juanluis Vich

March 23, 2019 at 10:44 pm in reply to: Group shapes

of course!
thanks!

I made it work with this
Do you think the code is ok, or too messy? it’s working, btw ☺

``` var myComp = app.project.activeItem; var mySelectedLayers = myComp.selectedLayers; /// for (var i = 1; i <= myComp.numLayers; i++){ myComp.layer(i).selected = false; } /// for (var i = 1; i <= myComp.numLayers; i++){ var myContents = myComp.layer(i).property("ADBE Root Vectors Group"); for (var j = 1; j <= myContents.numProperties; j++){ myContents.property(j).selected = true; app.executeCommand(3741);//group shapes } myComp.layer(i).selected = false; } ```

• ### Juanluis Vich

March 23, 2019 at 9:25 pm in reply to: Group shapes

hi!
I’ve been trying to figure out how to make sure the layers are selected one at a time before starting the inner loop with no luck… do you have any hint or ref to get the right direction?
Thanks!

• ### Juanluis Vich

March 9, 2019 at 6:21 am in reply to: Group shapes

mm yes, it seems it will have to work that way… thanks for the ideas!

Page 1 of 4

We use anonymous cookies to give you the best experience we can.