Article View: adobe.scripting.indesign
Article #14894Re: [vb] Testing for item existence
From: Olav_Kvern
Date: Thu, 15 Jan 2004 20:16
Date: Thu, 15 Jan 2004 20:16
12 lines
979 bytes
979 bytes
Jonathan-- re: "If myTextFrame.Paragraphs.Count = 0 then... does anyone know any better way??" What's wrong with this approach? It's the way I would do it. (By the way--Magnus said "Paragraphs.Length" because he's thinking in JavaScript. VBScript uses the term "Count" where JavaScript uses "Length".) Thanks, Ole
Technical Details
Message-ID:
<2ccf61cf.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf61cf.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,90b1863c93a58166 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-15 12:38:02 PST From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [vb] Testing for item existence Message-ID: <2ccf61cf.2@webx.la2eafNXanI> Date: Thu, 15 Jan 2004 12:16:17 -0800 References: <2ccf61cf.-1@webx.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit