🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #382

Re: Clear text overrides in applescriot for Indesign CS3 on Mac OSX 10.5.6

#382
From: Tynan
Date: Wed, 25 Mar 2009 13:15
22 lines
1526 bytes
my ham fisted modding seems to have worked, I fiddled a bit with your code and hard coded some names in in place of your dynamic ones

it was working perfectly for the underlined variations and the basic variations

it went wrong when i got to small caps, my very poor javascript knowledge I suspect

does that make sense?

where the character style name I tell it to allocate to various styles matches the character styles pre existing, it works and applies the pre existing character style

so where it finds some 'bold' that text gets my 'Body Text Bold' character style applied to it

and so on

I need to find text attributes for, and apply pre existing character styles to
bold, italics, bolditalic
underlined, underlined bold, etc
small caps
all caps
smallcaps underlined, small caps underlined bold, etc

I think it's going to work out ok if I can stop buggering up your code ...
Technical Details
Message-ID: <59b86485.11@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b86485.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,eb2cfe05176434d3
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Tynan@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Clear text overrides in applescriot for
 Indesign CS3 on Mac OSX 10.5.6
Message-ID: <59b86485.11@webcrossing.la2eafNXanI>
Date: Wed, 25 Mar 2009 06:15:39 -0700
References: <59b86485.-1@webcrossing.la2eafNXanI>
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit