🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18736

Re: Newbie contemplating something far too complex?

#18736
From: Olav Kvern
Date: Thu, 27 Feb 2003 20:21
11 lines
1238 bytes
Diane--

You should be able to use SortParagraphs--just select the paragraphs and run the script. Doesn't it work for you?

Dave--

Your approach will strip the text of its formatting. Take a look at the bubble sort handler used in SortParagraphs--it uses the move method to rearrange paragraphs (and thereby retains formatting). (It's also less clunky than maintaining a pair of indexed lists.<g>)

Thanks,

Ole
Technical Details
Message-ID: <1de80f24.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de80f24.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,45607331d5b88ff9
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-27 12:37:59 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Newbie contemplating something far too complex?
Message-ID: <1de80f24.2@WebX.la2eafNXanI>
Date: Thu, 27 Feb 2003 12:21:20 -0800
References: <1de80f24.-1@WebX.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit