🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2000

Re: (JS) Find Page of Object

#2000
From: Dave_Saunders
Date: Mon, 12 Jan 2009 21:12
5 lines
1009 bytes
I think I've already knocked a hole in it -- nothing like exposing stuff to public view for finding problems! With the test in the while statement for null, the null case is not possible in the switch.

Indeed, the only time that null test at the top of the loop kicks in is if the original object is overset text because of the test for null after the switch -- necessary because null doesn't have a parent.

Dave
Technical Details
Message-ID: <59b77ee3.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b77ee3.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,54700b22cee37b94
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: (JS) Find Page of Object
Message-ID: <59b77ee3.0@webcrossing.la2eafNXanI>
Date: Mon, 12 Jan 2009 13:12:32 -0800
References: <59b77ee3.-1@webcrossing.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit