🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19204

Re: Searching question

#19204
From: Dave Saunders
Date: Fri, 10 Jan 2003 17:32
19 lines
1790 bytes
I've imported a Word file. As usual, the result is a mess that I need to clean up.

One of Word's new tricks is to add " char" to the end of a style name. I've seen it add as many as five instances to a single style name.

I even have a situation where my client intended to use a paragraph style for some text, but has in fact used a character style.

So, what I tried to do was this:

set find preferences to nothing
set change preferences to nothing
set applied character style of find preferences to character style theCS of document 1
set applied paragraph style of change preferences to paragraph style theNewPS of document 1
search my Story for ""

And this did nothing. And yet, if I stop the script at this point and open up the F&R dialog, my settings are there and if I click Change All, exactly what I was hoping for in the script happens.

This suggests that I'm not making an error in my script, but it's not workiing.

Dave
Technical Details
Message-ID: <1de75289.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de75289.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,37b0df3b9bfcba52
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-10 09:38:15 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Searching question
Message-ID: <1de75289.0@WebX.la2eafNXanI>
Date: Fri, 10 Jan 2003 09:32:56 -0800
References: <1de75289.-1@WebX.la2eafNXanI>
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit