Article View: adobe.scripting.indesign
Article #441Re: (JS) Find Page of Object
From: Dave_Saunders
Date: Tue, 24 Mar 2009 16:34
Date: Tue, 24 Mar 2009 16:34
3 lines
847 bytes
847 bytes
The second line of code of the function is the problem. In fact, I wonder if I need that initial if statement at all. But the case Character line has the same problem. It must be protected by a try/catch otherwise it will fail if the text has no parentTextFrames. Dave
Technical Details
Message-ID:
<59b77ee3.9@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<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!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: (JS) Find Page of Object Message-ID: <59b77ee3.9@webcrossing.la2eafNXanI> Date: Tue, 24 Mar 2009 09:34:33 -0700 References: <59b77ee3.-1@webcrossing.la2eafNXanI> Lines: 6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit