🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #804

[CS3 JS] Question about collecting overridden style settings

#804
From: Andreas_Jansson
Date: Wed, 04 Mar 2009 15:11
8 lines
1143 bytes
Hi!

I can use the styleOverridden to check every item in a textStyleRange for overrides. But is there a smart way to collect the attributes actually overridden? (The attributes showing up neatly in the tooltip when you hold the mouse cursor over an overridden style name.)

My script needs to add a clean character style for every overridden style, recreating the behaviour of the add new character style dialogue, creating the new style based on the overrides.

Kind regards,
Andreas
Technical Details
Message-ID: <59b81cad.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ae48fa806cc37e1a,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Andreas_Jansson@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: [CS3 JS] Question about collecting overridden style settings
Message-ID: <59b81cad.-1@webcrossing.la2eafNXanI>
Date: Wed, 4 Mar 2009 07:11:20 -0800
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit