ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

After Effects Scripting - Line break in text field?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Shaun GishAfter Effects Scripting - Line break in text field?
by on Oct 6, 2010 at 11:07:19 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 ?)


Return to posts index

Chris WrightRe: After Effects Scripting - Line break in text field?
by on Oct 6, 2010 at 11:47:05 pm

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

http://technicolorsoftware.hostzi.com/


Return to posts index

Jamin ConnRe: After Effects Scripting - Line break in text field?
by on May 25, 2012 at 12:53:14 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]