1 person found this helpful
Works for me... ???
Try this one line script, in a new, blank document, with only one text frame in it:
app.activeDocument.stories.insertionPoints[-1].contents = SpecialCharacters.columnBreak;On my CS4/Mac it does insert a column break.
Thanks, I figured it out. Here's what I was doing:
story.insertionPoints[-1].contents = SpecialCharacters.columnBreak; story.contents += realtorName + " " + realtorPhone;
I was using += to append text throughout, which doesn't work for SpecialCharacters, so I changed only that one row to use the insertionPoint contents. (If you try it with +=, you'll get the numeric character code.)
Changing it to this did the trick:
story.insertionPoints[-1].contents = SpecialCharacters.columnBreak; story.insertionPoints[-1].contents = realtorName + " " + realtorPhone;
Other uses of += are fine, just the one following the special character breaks it. Not sure why.
At least I can explain that.
Thanks for the insight. That reply totally deserves the gold star!