Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions expression in a layer marker’s comment

  • expression in a layer marker’s comment

    Posted by Peter O’connell on August 21, 2008 at 6:23 pm

    Hi, does anyone know if it is possible to have a layer marker’s comment evaluate as an expression so that for example if you type in ‘opacity’ in the comment field it displays as ‘100’
    Thanks
    Pete

    roguekeyframe.com

    Dan Ebberts
    replied 17 years, 8 months ago
    3 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    August 21, 2008 at 6:35 pm

    Like this:

    eval(marker.key(1).comment)

    Dan

  • Peter O’connell

    August 22, 2008 at 2:35 am

    HI Dan, I must be doing something wrong cause when I type that expression in the layer marker’s comment field it doesn’t show up in the timeline as the result, but just as the code I input verbatim.
    Help
    Pete

  • Dan Ebberts

    August 22, 2008 at 2:45 am

    Maybe I misunderstood. That expression goes in the property that you want to have execute the expression in the marker comment. For example, if you put the expression in the layer’s opacity property and put

    time * 10

    in the first marker comment, you’ll see the opacity increase with time.

    Dan

  • Peter O’connell

    August 22, 2008 at 5:08 am

    Hi Dan, well what I was trying to do was get the comment itself (that you see beside the layer marker) to update based on an expression. Maybe that’s not possible?
    Pete

  • Dan Ebberts

    August 22, 2008 at 5:21 am

    Ah, yes. Sorry – you can’t do that. In general, if you can’t keyframe it, you can’t apply an expression to it.

    Dan

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