🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #27

Re: AS - Telling ID to find a specific layer

#27
From: Olav_Kvern
Date: Wed, 01 Apr 2009 18:54
22 lines
892 bytes
Hi Rosie,

Replace:



set myLayerN to page item layer "notes" 
set myLayer to make myLayerN with properties {layer color:magenta}



With:



set myLayerN to layer "notes" 
--no need to create a new layer 
set layer color of myLayerN to magenta

Thanks,

Ole
Technical Details
Message-ID: <59b87915.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <473fec40904011132n550f1c34u543b0b77936320fc@mail.gmail.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,68bbf0d760031dca
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: AS - Telling ID to find a specific layer
Message-ID: <59b87915.0@webcrossing.la2eafNXanI>
Date: Wed, 1 Apr 2009 11:54:43 -0700
References: <473fec40904011132n550f1c34u543b0b77936320fc@mail.gmail.com>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit