Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Create column of numbers

  • Chris Scalzo

    October 22, 2015 at 4:24 pm

    did you want those exact numbers? How did you want to input the Numbers if not? For most cases I’d just use point text and press return to add more lines.

  • Riccardo Sinti

    October 22, 2015 at 4:38 pm

    i want to automatically create a string of text in a column with parameters like start # and end #
    so create column from 23 – 187 for example

  • Dan Ebberts

    October 22, 2015 at 7:20 pm

    Try this:


    startNum = 10;
    endNum = 16;
    str = "";
    for (i = startNum; i <= endNum; i++){
    str += i + "\r";
    }
    str

    Dan

  • Kevin Camp

    October 22, 2015 at 7:30 pm

    try this:

    startVal = 23;
    endVal = 187;
    nums = "";
    for(i=startVal; i<=endVal; i++) nums = nums + i + '\r';
    nums

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    October 22, 2015 at 7:30 pm

    dan beat me….

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Riccardo Sinti

    October 22, 2015 at 7:57 pm

    Perfect, saves lots of typing.
    Thanks, as always you rock!
    -Ric

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