Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • test

     Dan Ebberts updated 5 months ago 1 Member · 3 Posts
  • Dan Ebberts

    December 9, 2021 at 7:48 pm

    test 1

    if (marker.numKeys > 0){

    tStart = marker.key(1).time;

    time - tStart;

    }else

    0;

  • Dan Ebberts

    December 9, 2021 at 7:50 pm

    test 2

    if (marker.numKeys > 0){

    tStart = marker.key(1).time;

    time - tStart;

    }else

    0;

  • Dan Ebberts

    July 2, 2022 at 5:53 pm

    test 3

    var preset1path = "/c/test/preset1.ffx";
    var preset2path = "/c/test/preset2.ffx";
    var myComp, mySelected;
    for (var i = 1; i <= app.project.numItems; i++){
    myComp = app.project.item(i);
    if (myComp instanceof CompItem){
    mySelected = myComp.selectedLayers;
    for (var j = 0; j < mySelected.length; j++){
    mySelected[j].selected = false;
    }
    myComp.layer(1).selected = true;
    myComp.layer(1).applyPreset(File(preset1path));
    myComp.layer(1).selected = false;
    myComp.layer(2).selected = true;
    myComp.layer(2).applyPreset(File(preset2path));
    }
    }
Viewing 1 - 3 of 3 posts

Log in to reply.

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