🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1217

Re: [CS3 JS] Help with script that batch turns layers on and off

#1217
From: Dave_Saunders
Date: Mon, 16 Feb 2009 00:21
3 lines
857 bytes
It's fairly straightforward. Use the findText feature to find all instance of text in the character style and then (assuming that all such instances are in their own text frames), set the itemLayer of the text frames to the answer layer.

Dave
Technical Details
Message-ID: <59b7ef63.8@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b7ef63.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,42c96ab71325657f
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS3 JS] Help with script that batch turns layers on and off
Message-ID: <59b7ef63.8@webcrossing.la2eafNXanI>
Date: Sun, 15 Feb 2009 16:21:49 -0800
References: <59b7ef63.-1@webcrossing.la2eafNXanI>
Lines: 6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit