Article View: adobe.scripting.indesign
Article #9138Re: Select Layer by Name?
From: Olivier_Berquin
Date: Mon, 11 Sep 2006 15:32
Date: Mon, 11 Sep 2006 15:32
21 lines
905 bytes
905 bytes
Try something like this: tell application "Adobe InDesign CS2" tell active document set LayerToActive to layer "Text" end tell set active layer of active window to LayerToActive end tell But... Why do you want to active a layer ? You can work on some items of a layer without "active" it. Oli.
Technical Details
Message-ID:
<3bc19367.6@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!news.isoc.lu!webcrossingReferences:
<3bc19367.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5adc33cad37aeca X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Olivier_Berquin@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Select Layer by Name? Message-ID: <3bc19367.6@webcrossing.la2eafNXanI> Date: Mon, 11 Sep 2006 08:32:03 -0700 References: <3bc19367.-1@webcrossing.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit