Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Access a Layer’s Comment Field in an Expression

  • Access a Layer’s Comment Field in an Expression

    Posted by Daniel Russell on October 21, 2012 at 5:00 am

    I am looking for how to access a layer’s comment field from an expression. So far, all I have found is how to access markers. What i want is the main layer comment, the same one that Zorro the Tagger uses. Anyone know how to do this?

    Thnks in advance!

    Yaavi Foxy replied 7 years, 7 months ago 3 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 21, 2012 at 4:16 pm

    As far as I know, there’s no way to do that.

    Dan

  • Yaavi Foxy

    October 5, 2018 at 2:05 pm

    I’m not sure whether you can do that in an expression, but you can easily do it in a script.

    // get current layer
    var comp = app.project.activeItem;
    var layer = comp.layer(1);
    // get comment
    var comment = layer.comment;

    //set comment
    layer.comment = "comment";

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