Forum Replies Created

Page 4 of 4
  • Juanluis Vich

    March 22, 2017 at 6:39 pm in reply to: Detecting Vector Art Layers in ExtendScript

    hi!
    I’m trying to get it working adding the possibility to convert text to shape as well, so if you select a bunch of vector art + text layers they are all converted together, but I cannot make it work properly, I added this to Dan’s code (changing “myComp.layer(a)” with “myLayer” to fit the rest of the working code.
    If I select text layers it works well, but if I select both vector and text, it just does the vector conversion:


    if((myLayer instanceof TextLayer)){
    app.executeCommand(app.findMenuCommandId("Create Shapes from Text"));
    }

    any ideas? thanks!

    the whole code looks like this:


    app.beginUndoGroup("convert");
    var myLayers = app.project.activeItem.selectedLayers;
    var myLayer;
    for (var i = 0; i < myLayers.length; i++){
    myLayer = myLayers[i];

    if((myLayer instanceof AVLayer) && (myLayer.source instanceof FootageItem) && (myLayer.source.mainSource instanceof FileSource)){
    app.executeCommand(app.findMenuCommandId("Create Shapes from Vector Layer"));
    }
    else if((myLayer instanceof TextLayer)){
    app.executeCommand(app.findMenuCommandId("Create Shapes from Text"));
    }
    }
    app.endUndoGroup();

  • awesome! thanks!!

  • that’s a great piece of code!
    I’m wondering, how could it be adapted to make a marker the trigger instead of the inPoint? So I can have a layer with a solid standing there and when the timeline reaches the marker the animation starts.

    thanks!

  • Juanluis Vich

    September 1, 2016 at 11:03 pm in reply to: time remap child (or grandchild) to keep original time

    Thanks a lot for the light!!
    I will give a try to that approach!

  • Hi!
    I have a similar issue, which I think via expressions should work perfectly, but don’t know how to approach:

    I have a master composition with a looped animation. At some point, that animation has a time remapping with the animation speeded up,
    but as I dont’ want one of their elements get affected by that new speed (the blinking eyes) , I’d need to compensate that child layers’s speed, to be 100% again and not, let’s say, 235% (but I cannot give a value now, it will be just a matter of playing with the end keyframe).
    Do you know if there is a way to do it better than by hand, so no matter which new speed I give to the master layer, the child layer will be always at its own 100% speed?

    Thanks a lot!

  • hi!
    do you know if it’s possible to take the color from a selection from a bunch of Color Control effect (maybe stored at the same layer) instead of a total random color? I’ve been trying to, but not lucky at all 🙁

    thanks!

  • Juanluis Vich

    June 28, 2016 at 6:45 pm in reply to: alpha in/out on markers with option to flicker

    thanks, it seems to work!!

Page 4 of 4

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