Forum Replies Created

Page 3 of 5
  • Rainier Raydán

    September 12, 2017 at 3:38 pm in reply to: getting the propper property path

    I tried to do it my self but just cant make it work…

  • Rainier Raydán

    September 12, 2017 at 3:26 pm in reply to: Essentials Graphics library export

    I belive there’s no way to do that… BTW, essentials graphics it’s AWESOME!

  • Rainier Raydán

    September 3, 2017 at 12:44 pm in reply to: real value to change comp duration

    Wow! That help! It worked just fine but when the comp is 23.976 fps it doesnt work… when the minutes value its greater thant 0 the results in frame and in seconds doesnt match… minutes = 1, secondes = 10 and frames = 5 and the result is 0:01:10:03…

  • Rainier Raydán

    September 1, 2017 at 8:29 pm in reply to: real value to change comp duration

    Ok I have this

    var compLength = app.project.activeItem.duration;
    var minutes =2
    var seconds = 15
    var frames = 20;

    minSec = (minutes*60)+seconds;

    realFrames = frames /app.project.activeItem.frameDuration;

    finalDuration = parseFloat (minSec +"."+realFrames);

    app.project.activeItem.duration = finalDuration;

    But the comp duration still wrong. It has to be 02:15:20 (it’s a 25 frames comp) but the script result is 02:15:13…

  • Rainier Raydán

    August 31, 2017 at 1:36 pm in reply to: real value to change comp duration

    Nice! Thanks Andrei!

    But I need to change the duration of the comp with this values

    I want to set the minutes, the seconds and the number of frames with this UI but I dont know how!

  • Rainier Raydán

    August 24, 2017 at 3:49 pm in reply to: Attach anchorpoint to the center of the layer

    Thanks!

  • Rainier Raydán

    August 24, 2017 at 1:58 pm in reply to: Attach anchorpoint to the center of the layer

    Sorry, do you have any idea on how to set the anchor point to upper right or left, center right or left and so?

  • Rainier Raydán

    August 16, 2017 at 3:28 pm in reply to: Attach anchorpoint to the center of the layer

    WOW! thank you so much! Works like a charm ????

  • Rainier Raydán

    June 19, 2017 at 11:39 pm in reply to: find words in the expression box

    So I found the split function to split a string in words and make an arry, that way I can just search for a match and in return I get the curLayer. I’ve use an if(curProp.expressionEnable == true){ exprAry.push(curProp)} so the loop only gets the expressions that are enabled. But for some reason it also gets some of the expressions box that are disabled… when I search for “color” it also gets me all the layers that have a fill color or a color picker…

    This is my script:

    var proj = app.project;

    app.beginUndoGroup("undo");
    var exprAry = new Array();

    for(i=1;i<=proj.numItems;i++){
    var curItem = proj.item(i);
    if(curItem instanceof CompItem){
    for(q=1;q<=curItem.numLayers;q++){
    var curLayer = curItem.layer(q);
    for(w=1;w<=curLayer.numProperties;w++){
    var curProp1 = curLayer.property(w);
    for(e=1;e<=curProp1.numProperties;e++){
    var curProp2 = curProp1.property(e);
    if(curProp2.expressionEnabled == true){
    exprAry.push(getWords (curProp2));
    }
    for(a=1;a<=curProp2.numProperties;a++){
    var curProp3 = curProp2.property(a);
    if(curProp3.expressionEnabled == true){
    exprAry.push(getWords (curProp3));
    }
    for(s=1;s<=curProp3.numProperties;s++){
    var curProp4 = curProp3.property(s);
    if(curProp4.expressionEnabled == true){
    exprAry.push(getWords (curProp4));
    }
    }
    }
    }
    }
    for(m=0;m

  • Rainier Raydán

    June 16, 2017 at 10:43 am in reply to: setValueAtKey integer problem extendscript

    Thanks!

Page 3 of 5

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