🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2043

Re: Finding Parent Layer -- Script N00b

#2043
From: Eric
Date: Wed, 14 Jan 2009 19:25
14 lines
983 bytes
For future ref, please specify which language you're working in too.

Applescript:

tell application "Adobe InDesign CS3" 
	tell active document 
		get visible of item layer of selection 
	end tell 
end tell



Not 100% about javascript. I think this would get the visibility of the very first page item in the document though...
var x = app.documents[0].pageItems[0].itemLayer.visible
Technical Details
Message-ID: <59b78399.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b78399.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ea96d6f77e3b43b9
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Eric_@_MCA@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Finding Parent Layer -- Script N00b
Message-ID: <59b78399.1@webcrossing.la2eafNXanI>
Date: Wed, 14 Jan 2009 11:25:28 -0800
References: <59b78399.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit