Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions continued problems with calendar using expressions

  • continued problems with calendar using expressions

    Posted by Olly Bea on July 20, 2005 at 1:23 pm

    to anyone who can help or Filip Vandueren, I am still having problems trying to make this year-long calendar with day counter…

    Here is the expression I have put in:

    dateValue=thisComp.date 2;(“Layer with Numbers effect”).effect(“Numbers”)(4); // change the layerName
    startValue=1; // the Slider-value at which you want the day counter to be 1
    days=180; // number of days you want to count

    dayCounter=linear(dateValue, startValue-1, startValue+days-1,0, days)

    the layers name is called: date 2

    Any idea why the expression is not working?

    Filip Vandueren replied 20 years, 9 months ago 3 Members · 2 Replies
  • 2 Replies
  • Mylenium

    July 20, 2005 at 6:27 pm

    It’s screwed. Try this:

    dateValue=thisComp.layer(“Numbers”).effect(“Numbers”)(4); // change the layer name
    startValue=1; // the Slider value at which you want the day counter to be 1
    days=180; // number of days you want to count

    dayCounter=linear(dateValue, startValue-1, startValue+days-1,0, days)

    Mylenium

    [Pour Myl

  • Filip Vandueren

    July 21, 2005 at 11:01 pm

    the first line should be:


    dateValue=thisComp.layer("date 2").effect("Numbers")(4); // change the layerName

    The name has to be in the brackets and quoted.

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