🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #744

Re: CS3 JS flag which page has empty frame

#744
From: John_Kordas
Date: Wed, 18 Mar 2009 13:09
14 lines
971 bytes
Thanks Dave,

I've got it to check if there is a graphic and this seems to work but can not seem to get it to select the rectangle.

for (var j = myPages.length - 1; j >= 0; j--) {
	if(myPages[j].rectangles.length >= 1 && myPages[j].allGraphics.length > 0 ){

		myPages[j].rectangles.select()
	}
}

error: myPages[2].rectangles.select is not a function

any suggestion?
Technical Details
Message-ID: <59b83b3d.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b83b3d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5f85c25f887dafb2
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: John_Kordas@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: CS3 JS flag which page has empty frame
Message-ID: <59b83b3d.1@webcrossing.la2eafNXanI>
Date: Wed, 18 Mar 2009 06:09:32 -0700
References: <59b83b3d.-1@webcrossing.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit