🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18733

Newbie contemplating something far too complex?

#18733
From: Diane King
Date: Thu, 27 Feb 2003 18:09
7 lines
2033 bytes
I'm so proud of my first script--a simple series of find and replaces-- which I figured out from trial and error and browsing this forum and the ID scripting guide. But now I need to do something that seems to me very complex and I have no idea where to start or if it is even possible.

I'm working with a product catalog that I'm trying to create an easy-to-update index that lists each product in alphabetical order with its product number and page. I'm using the TOC feature to create a contents list and then I scripted a series of find and replaces to get each product name and product number and page number into a single tab-delimited line. I now need to broaden my script to alphabetize the entire list by product name disregarding intro articles such as "a" and "the" and any first character punctuation. Is this possible to do with a script?

Oh, another little thing. I was able to change the paragraph styles of the text while doing my find and changes, but I can't seem to figure out how to get rid of all the character styles that got dragged in with the text. I've tried several different things, none of which return errors, but the character styles are still there.

I am very new to all this so any advice and help is appreciated. Thanks!
Technical Details
Message-ID: <1de80f24.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!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,45607331d5b88ff9,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-27 10:40:09 PST
From: "Diane King" <dking@answersingenesis.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Newbie contemplating something far too complex?
Message-ID: <1de80f24.-1@WebX.la2eafNXanI>
Date: Thu, 27 Feb 2003 10:09:56 -0800
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit