Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Updating the comment on a marker using ExtendScript

  • Updating the comment on a marker using ExtendScript

  • Fabrice Leconte

    May 7, 2020 at 2:13 pm

    Hello,
    I added some layer markers and I want to change the comment via ExtendScript.

    I tried:


    var textLayer = mainComp.layer("textLayer")
    var nKey = textLayer.marker;
    for (i = 1; nKey.numKeys; i++) {
    markerVal = textLayer.markerProperty.keyValue(i);
    markerVal.comment = "comment" + i;
    textLayer.markerProperty.setValueAtKey(i, markerVal);
    }

    But so far nothing is working…

    Any help appreciated!

    Fabrice.

Viewing 1 of 1 posts

Log in to reply.

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