Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions repeat Source Text input

  • repeat Source Text input

    Posted by Torbjørn Ljunggren on April 1, 2010 at 8:29 pm

    hi. kind of new to expressions. so this is probably easy.
    Im making my own aschii-look and id like to fill my entire canvas with the characters i want.
    SO.
    in Source Text i thought to make an expression that multiplies a given character a number of times. this is instead of typing and copying/pasting.
    how do I actually repeat an ‘x’ , lets say 100 times?

    thanks.

    T

    Dan Ebberts replied 16 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    April 1, 2010 at 9:02 pm

    One way:

    s = “”;
    for (i = 1; i <= 100; i++) s += "x"; s Dan

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