Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects After Effects Scripting – Line break in text field?

  • After Effects Scripting – Line break in text field?

    Posted by Shaun Gish on October 6, 2010 at 11:07 pm

    I have a script that imports a tab delimited text file and it doesn’t recognize line breaks in the text file (because they are considered new records).

    Is there a function I can use to replace characters with a new line? (and what does AE expect? \n ? \r ? \r\n ?)

    Jamin Conn replied 13 years, 11 months ago 3 Members · 2 Replies
  • 2 Replies
  • Chris Wright

    October 6, 2010 at 11:47 pm

    var lines = txt.split(/\r/);

    https://technicolorsoftware.hostzi.com/

  • Jamin Conn

    May 25, 2012 at 12:53 am

    Hi, I’m looking to do something different but learing from this thread.

    souce text:

    file name
    line break
    name of course (located in different comp)

    I don’t know how to enter “line break” inside the expression system. I blame the issue on ignorance

    -Jamin
    EnvisoonedStudios.com

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