🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9904

Re: apply object style to layer CS2Win

#9904
From: herrmueller
Date: Mon, 17 Jul 2006 02:28
7 lines
967 bytes
doc=app.activeDocument;
//Replace "layerName" with the name of your layer
tfLayer = doc.layers.item("layerName");
//replace "myStyle" with the name of the object style
for(var i = tfLayer.textFrames.length;i>0;i--){
tfLayer.textFrames[i-1].applyObjectStyle(app.activeDocument.objectStyles.item("myStyle"),true);
}
Technical Details
Message-ID: <3bc0ef0b.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0ef0b.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,19c5f420c2596d35
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: herrmueller <jmiller@halodesignstudios.com>
Newsgroups: adobe.scripting.indesign
Subject: Re: apply object style to layer CS2Win
Message-ID: <3bc0ef0b.0@webcrossing.la2eafNXanI>
Date: Sun, 16 Jul 2006 19:28:41 -0700
References: <3bc0ef0b.-1@webcrossing.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing