Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Updating the comment on a marker via extendscript?

  • Updating the comment on a marker via extendscript?

    Posted by James Ronan on July 3, 2017 at 11:41 am

    Hey all!

    Is there a way to update a comment on a marker via extendscript?

    I’ve tried:

    var compTo = app.project.activeItem;
    compTo.markerProperty.keyValue(1).comment.setValue = “New Comment”;

    But so far nothing is working…

    Any help appreciated!

    James

    James Ronan replied 8 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    July 3, 2017 at 1:04 pm

    Try it this way:

    var compTo = app.project.activeItem;
    var markerVal = compTo.markerProperty.keyValue(1);
    markerVal.comment = “New Comment”;
    compTo.markerProperty.setValueAtKey(1,markerVal);

    Dan

  • James Ronan

    July 3, 2017 at 2:17 pm

    Ah I see how it works now. Perfect!

    Thanks a lot, Dan!!

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