🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #33

Re: AS - Telling ID to find a specific layer

#33
From: Rosemary Cantrell
Date: Wed, 01 Apr 2009 19:53
40 lines
2995 bytes
Ole,
Perfect thank you!!

I can see where I got myself mixed up.  This is what happens when I
try to use an existing script that I have for creating layers with
colors and modifying it change an existing layer. :) Thank you again!

Thanks,
Rosie


On Wed, Apr 1, 2009 at 1:54 PM, Olav Kvern <member@adobeforums.com> wrote:
> A new message was posted by Olav Kvern in
>
> InDesign Scripting --
> ��AS - Telling ID to find a specific layer
>
> 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
>
> ________________________________
> View/reply at AS - Telling ID to find a specific layer
> Replies by email are OK.
> Use the unsubscribe form to cancel your email subscription.
>
>
Technical Details
Message-ID: <473fec40904011253w344af68arbd99da38967fe38a@mail.gmail.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad.newshosting.com!newshosting.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
From: Rosemary Cantrell <rosie.cantrell@gmail.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad.newshosting.com!newshosting.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: AS - Telling ID to find a specific layer
Message-ID: <473fec40904011253w344af68arbd99da38967fe38a@mail.gmail.com>
Date: Wed, 1 Apr 2009 12:53:52 -0700
References: <473fec40904011132n550f1c34u543b0b77936320fc@mail.gmail.com>
Lines: 41
Received: from qw-out-1920.google.com [74.125.92.144] by adobeforums.com; Wed, 1 Apr 2009 12:54:25 -0700
Received: by qw-out-1920.google.com with SMTP id 5so177592qwc.50
        for <adobe.scripting.indesign@adobeforums.com>; Wed, 01 Apr 2009 12:53:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=G68pXnaeDGg0hZOuKnaPGg62MkS2Tqk5b6mR2Mnzsh4=;
        b=trFBTh7PITPKp6NFy078GjD5OK53lWIPnmDsxbpgy78+ajfiaRfB3dp7NrW9h7yf//
         mRwdtxbWh6b+V1oYbxShSwVNMRlSULqhR6T5uFDlMvg9tlDA57OXrmHy+CgfwhIh6Afj
         n5WZbIekpFimSCWriUl1NPGgz0d50CmizUeqg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=g4vuArAtoZ9AI2+nliUdhS36xOoslos8nOv75icNPtzeHhhRBAwSFhbLvMoxUabSuK
         tXsAhdTclaKVUnDEVThho0xqun6+JKQQSImEjeJMGkdbfHsh5C/KsNYH0inWv9k3EG1w
         bHgf9AvTm4LaXY07tXb++rIz7/x8B12zfS1+0=
Received: by 10.229.74.77 with SMTP id t13mr3342622qcj.58.1238615632217; Wed, 
 01 Apr 2009 12:53:52 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit