FORUMS: list search recent posts

marker querying syntax question

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Aaron Kent
marker querying syntax question
on Mar 2, 2013 at 8:20:09 pm

Hey guys, playing around today and having a little trouble.

This is working for me:

(thisComp.layer("layer1").marker.nearestKey(time).index==1)

this successfully tests until the CTI hits the first marker on the timeline

what is the correct syntax if I want to instead test for the marker's comment instead of index.

I've tried things like below (and I named my marker "m1")

marker.nearestKey(time).comment == m1

but I keep getting errors. I can't find enough documentation that's clear enough about AE expressions being able to get the comment instead of just the markers index value.

Cheers

AK


Return to posts index

Dan Ebberts
Re: marker querying syntax question
on Mar 2, 2013 at 8:23:57 pm

The marker comment is a string, so I'd try it like this (not tested):

marker.nearestKey(time).comment == "m1"


Dan



Return to posts index

Aaron Kent
Re: marker querying syntax question
on Mar 2, 2013 at 8:42:34 pm

Thanks Dan, I think thats got it.

AK


Return to posts index


Aaron Kent
Re: marker querying syntax question
on Mar 4, 2013 at 12:19:03 am

Making slow progress. I need to do more beginner lessons.



cheers

AK


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]