🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17651

AS - character style to part of text

#17651
From: Fernando G. Jensen
Date: Wed, 21 May 2003 11:56
15 lines
1414 bytes
After finishing formating of some raw text with Applescript my result could be:

(1) - Name
(2) - Address name (\t) Address no.
(3) - Address name 2 (\t) Address no. 2
(4) - Country

Paragraph (2) & (3) consist of an address name followed by a "tab" and ending with the address number. Sometimes a "space" is left as a surprise gift after some of the paragraphs. Paragraph (3) doesn't always appear. Every paragraph has been given a different paragraph style, and a character style has been created for "Address no.".

Now the questions are ...
... how do I give the ending (Address no.) this character style?
... how do i delete the extra "spaces" after some of the paragraphs?

thanks for your help
Fernando
Technical Details
Message-ID: <1de9362f.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.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,241a499cbd123cfa,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-21 05:28:07 PST
From: "Fernando G. Jensen" <fgj@eniro.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AS - character style to part of text
Message-ID: <1de9362f.-1@WebX.la2eafNXanI>
Date: Wed, 21 May 2003 04:56:13 -0700
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit