🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #152

Re: CS3 JS flag which page has empty frame

#152
From: John_Kordas
Date: Mon, 30 Mar 2009 12:55
11 lines
972 bytes
Thanks Dave,

I got so caught up in the code and I didn't even look at the pages

app.activeDocument.pages[4].name; returns 5

So the left hand page is page 4 and the right hand page is 5 in the layout. So I'm trying to remove the text frame on page 5 and expand the rectangle on page 4.

app.activeDocument.pages[5].textFrames.remove();

Gives me error is not a function.
Technical Details
Message-ID: <59b83b3d.19@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: CS3 JS flag which page has empty frame
Message-ID: <59b83b3d.19@webcrossing.la2eafNXanI>
Date: Mon, 30 Mar 2009 05:55:14 -0700
References: <59b83b3d.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit