🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8444

Re: Replace Character style "None" with new style [AS, CS2]

#8444
From: Jim_Heissenbuttel
Date: Fri, 13 Oct 2006 19:45
13 lines
1388 bytes
Dave-

Thanks for the reply, and you are correct, that is not the complete script. The rest of the script (used to neame all styles with certain attributes) works fine. I just need to ass this "NoStyle" character style and ensure that it gets applied to any text content that does not have a character style applied to it.

Previously in the script I define the noCharacterStyle variable as such:

set noCharacterStyle to "[None]"

So, within the context of the script snippet I posted, it seems like it should find all instances of this and change it to my desired style. OIf course that's no exactly what is happening.

And it does not seem to matter if I tell Document 1 or Tell Application for the search function. I get the same error either way.

jh
Technical Details
Message-ID: <3bc1f6be.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc1f6be.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,742dfd689ac52e08
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jim_Heissenbuttel@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Replace Character style "None" with new style [AS, CS2]
Message-ID: <3bc1f6be.1@webcrossing.la2eafNXanI>
Date: Fri, 13 Oct 2006 12:45:34 -0700
References: <3bc1f6be.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing