🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9126

Re: Select Layer by Name?

#9126
From: Olivier_Berquin
Date: Mon, 11 Sep 2006 15:04
28 lines
866 bytes
Hi,

Try this:



 
tell application "Adobe InDesign CS2" 
	tell active document 
		set LayerToActive to layer "Texte"

		tell LayerToActive 
			set visible to false 
		end tell

		-- or: 
		set visible of LayerToActive to false

	end tell 
end tell 
-- 




HTH

Oli.
Technical Details
Message-ID: <3bc19367.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!news.isoc.lu!webcrossing
References: <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.3@webcrossing.la2eafNXanI>
Date: Mon, 11 Sep 2006 08:04:36 -0700
References: <3bc19367.-1@webcrossing.la2eafNXanI>
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit