How to add newline character in Text in Javascript?
I have a Text Frame object. Call it textFrame. If I do
textFrame.contents = "Some text.";
The script changes the text as expected. But what if I want to have the text span several lines? If I do:
textFrame.contents = "Some\ntext.";
The type just shows the "\n" rather than inserting a newline. I've tried "\r" too but no dice. Is there some special way to add a newline character when assigning a value to the contents property of a TextFrame object?
Thanks!
Ben
