🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16214

Re: Problem accessing TextFrames (in VB)

#16214
From: Olav_Kvern
Date: Thu, 02 Oct 2003 18:08
19 lines
1054 bytes
darinplutchok--

The problem is here:



document.write(CStr(myDocument.Groups.Item(1).PageItems.Item(1).TextFrames.Count))

That should be:



document.write(CStr(myDocument.Groups.Item(1).TextFrames.Count))

Unless the first page item in the group contains the text frames you're looking for.

Thanks,

Ole
Technical Details
Message-ID: <2ccd99ee.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccd99ee.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,a0164f3ca089c26f
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-02 11:37:58 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Problem accessing TextFrames (in VB)
Message-ID: <2ccd99ee.1@webx.la2eafNXanI>
Date: Thu, 2 Oct 2003 11:08:40 -0700
References: <2ccd99ee.-1@webx.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit