I've searched to no avail, looking for examples (there are plenty of JS examples) and unicode things that I can't get to work.
I need to add a frame break character to the end of a string I am inserting into a text box. How might I do that?
Current script snippet:
set townnames to "Lancaster"
tell text frame "town names box"
tell insertion point 1
set point size to 8.5
set contents to townnames --AND PAGE BREAK CHAR HERE
The best thing to do in such circumstances is to insert one manually, and<br />then get its contents. This will tell you to use:<br /><br /> set contents to page break<br /><br />-- <br />Shane Stanley <email@example.com>
Thanks Shane, ;-)
so simple yet so hard. I was looking for the "hard way" I guess.
What I get actually is a column break. Got it working now.
tell application "Adobe InDesign CS3"
tell document 1
tell text frame 2
get contents -->result is a return, "
get character -1 -->result is column break
get character 1 -->result is column break