Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects creating a mony calculator from numerical data in text layers

  • creating a mony calculator from numerical data in text layers

    Posted by Christy Lindsay on August 25, 2010 at 10:19 am

    I need to create a text layer that gets its value from adding the amounts of other text layers together. Like in a exl spread sheet.

    Is this possible. Working out percentages would also be a help.

    Cheers,

    Christy

    John Cuevas replied 16 years ago 2 Members · 2 Replies
  • 2 Replies
  • John Cuevas

    August 25, 2010 at 2:02 pm

    If this is possible(not sure if it is, numbers are really just ASCII text)the person to ask is Dan Ebberts in the Expressions forum.

    Johnny Cuevas, Editor
    http://www.thinkck.com

  • John Cuevas

    August 25, 2010 at 7:13 pm

    Actually came up with a way that sort of works, adding sliders to the text layer.

    Create a blank text layer(cntl+alt+shift+t) and add a slider. Add this expression to source text “Math.round(effect(“Slider Control”)(“Slider”))”
    Duplicate text layer.

    Make your sum text layer, and add the following expression to source text:
    a = thisComp.layer(” 3″).effect(“Slider Control”)(“Slider”);
    b = thisComp.layer(” 2″).effect(“Slider Control”)(“Slider”);
    a + b

    Basically instead of trying to convert the ASCII text, I’m getting my numbers from the slider. I just used the pick whip for the entire operation.

    Johnny Cuevas, Editor
    http://www.thinkck.com

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