🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20897

Insert soft return (newby)

#20897
From: Jay Fraser
Date: Thu, 23 May 2002 23:27
13 lines
1445 bytes
I'm trying to automate the formatting of some sample phone-book pages.  The ideal phone book entry is only one line long: 

Bold Name<\b> 123 Street Address (flush-right tab)555-1212<\b> 

But often the address goes to 2 lines, and I have to manually add a soft-return to make a nice-looking break. Ideally the break would happen just after the Bold Name, but if that makes the entry 3 lines I need to put it somewhere else. 

I know I can automate this somehow using applescript, but I'm having a hard time starting. I've been studying the BoxCharacters script, but I'm not making enough sense out of it to make my own script. 

Help? Where is the best place to get some more knowledge of scripting? 

Thanks! 

Jay
Technical Details
Message-ID: <ef8b754.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4c5b67e22acd13de,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-23 16:37:37 PST
From: "Jay Fraser" <jayfraser@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Insert soft return (newby)
Message-ID: <ef8b754.-1@WebX.aaQKaf7vad4>
Date: Thu, 23 May 2002 16:27:19 -0700
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit