🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2041

Finding Parent Layer -- Script N00b

#2041
From: jlevy
Date: Wed, 14 Jan 2009 18:44
11 lines
1012 bytes
Subject says it all; I'm a CS3 script n00b.

Anyway.

I've got a box, which is a Rectangle. I'd like to find what layer it's on, and see what that layer's 'visible' attribute is set to.

I've been scouring the documentation for hours trying to find my way back up the model, but I'm striking out.

Can someone give me a hand figuring out how to tell if the layer which contains my 'box' is visible or not?

Much appreciated.
Technical Details
Message-ID: <59b78399.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!news.glorb.com!newshub.sdsu.edu!webcrossing

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