Forum Replies Created

Viewing 1 - 10 of 36 posts
  • JuanLuis Vich

    June 25, 2022 at 3:11 am

    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

    Awesome, thank you!

  • JuanLuis Vich

    November 5, 2019 at 2:58 am

    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

    thanks a lot for the help!!

  • JuanLuis Vich

    March 23, 2019 at 10:44 pm

    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

    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

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

  • JuanLuis Vich

    March 9, 2019 at 4:11 am

    oh! thanks! I missed that!

    I changed the inner loop to be j, but it seems the execute command is not working at all. Its weird, when I select the layers individually, it works great, but if more than 1 layer is selected, it just loops and selects all the properties at the same but no grouping at all…

Viewing 1 - 10 of 36 posts

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