Forum Replies Created

Page 3 of 4
  • Juanluis Vich

    May 18, 2017 at 10:28 pm in reply to: Opacity fade in and out with marks

    oh! I didn’t know it could be so tricky! nevermind, the last setup you wrote is super handy too, infinite thanks!

  • Juanluis Vich

    May 18, 2017 at 7:17 pm in reply to: Opacity fade in and out with marks

    awesome!!!

    this way every marker will trigger the in and out fading, right? I don’t know if it is possible to make it work only if the comment “in” or “out” appears? to prevent any unwanted in/out, I mean…

  • Juanluis Vich

    May 18, 2017 at 5:32 pm in reply to: Opacity fade in and out with marks

    hi!
    on your expression:


    fadeTime = .5;
    if (marker.numKeys > 1){
    t1 = marker.key(1).time;
    t2 = marker.key(2).time;
    if (time < (t1+t2)/2)
    ease(time,t1,t1+fadeTime,0,100)
    else
    ease(time,t2-fadeTime,t2,100,0);
    }else
    value

    what if we add another “in” marker in the layer later in the timeline?
    how it could be modified to have it fading in again? (so basically each time it reaches the “in” it fades in and “out” it fades out, not only the first time

    thanks!

  • Brilliant! Thanks!!!

  • uhm, I’m having a problem I can’t solve, maybe you can help, if possible?

    I have another couple shape layers with a lot of groups inside as before, but they are not starting at time=0 (the layers are spread over the timeline)
    I changed the marker to read the composition marker instead of the layer’s. But now when they reach a marker, the total marker count is not 0 relative to the layer, it’s being counted since the beginning, so all the shape groups in the order stack less than the marker number jump from 0 opacity to 100 at the inPoint.

    I need to make it start with the first marker the layer reaches, being that marker as its 0 marker and then counting from that.
    I guess I need to use valueAtTime and inPoint but I cann’t make it work at all….

    Any clue would be super welcome

    Thanks!

  • super awesome! thanks!

    I modified the myN a bit to make it work no matter the name of the group but their order, it seems it works, if anyone is interested:

    n = 0;
    if (marker.numKeys > 0){
    n = marker.nearestKey(time).index;
    if (time < marker.key(n).time) n--;
    }
    myN=thisProperty.propertyGroup(2).propertyIndex;

    if (n >= myN){
    fadeDur = .5;
    t = time - marker.key(myN).time;
    linear(t,0,fadeDur,0,100);
    }else{
    0;
    }

  • Juanluis Vich

    March 23, 2017 at 4:14 am in reply to: Detecting Vector Art Layers in ExtendScript

    super!! infinite thanks!

  • Juanluis Vich

    March 23, 2017 at 2:36 am in reply to: Detecting Vector Art Layers in ExtendScript

    just a quick question related to your code,
    is there a way to manipulate the new converted layers? How it would be possible to access them?
    I’d like to change the label color of these new shape layers, or their opacity, or set some scale values, etc
    something like
    newLayer.label = 3
    etc

    thanks!!

  • Juanluis Vich

    March 22, 2017 at 11:37 pm in reply to: Detecting Vector Art Layers in ExtendScript

    awesome!!! thank you!!!

  • Juanluis Vich

    March 22, 2017 at 7:33 pm in reply to: Detecting Vector Art Layers in ExtendScript

    oh! thanks for the idea!

    I added this but still not working, I guess it’s not enough for make it work properly? (I played with several selected/unselected combinations, but nothing)


    if((myLayer instanceof AVLayer) && (myLayer.source instanceof FootageItem) && (myLayer.source.mainSource instanceof FileSource)){

    myLayer.selected = true;
    app.executeCommand(app.findMenuCommandId("Create Shapes from Vector Layer"));
    myLayer.selected = false;

    }

    if((myLayer instanceof TextLayer)){

    myLayer.selected = true;
    app.executeCommand(app.findMenuCommandId("Create Shapes from Text"));
    myLayer.selected = false;

    }

    anyway, thanks!!

Page 3 of 4

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