🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #44

Re: [CS3, CS4 / AS, JS] How to »Label« a Single Character?

#44
From: JAYTEE
Date: Thu, 02 Apr 2009 01:56
9 lines
1043 bytes
Hi Tobias,

Using swatches, I've been able to overcome this exact issue. The name of the colour/swatch can contain your "label" and may be referenced in that way. So instead of "every text frame whose label is/contains..." you can use:	

set theMatches to object reference of every character of every story whose name of fill color contains "MyLabel"

This is in CS2

JAYTEE
Technical Details
Message-ID: <59b7b837.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b7b837.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ddbd6be8425ded28
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: JAYTEE <jaytee@jaytee.com.au>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS3, CS4 / AS, JS] How to »Label« a
 Single Character?
Message-ID: <59b7b837.4@webcrossing.la2eafNXanI>
Date: Wed, 1 Apr 2009 18:56:28 -0700
References: <59b7b837.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit