🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18135

Re: Text Frames in AS

#18135
From: John Darnell
Date: Fri, 25 Apr 2003 13:46
9 lines
1188 bytes
Liz:

I assume that myDoc is the current document. Item i of myDoc could be anything, including something that is not a text frame. What would make more sense to me at least (please correct me, you more experienced scripters) is if you do something like this:

set myBounds to geometric bounds of item i of theTextFrame

The fact that you use text frames (note the plural) leads me to believe tha theTextFrame has become a list.

Anyone who wishes to correct me, please do.
Technical Details
Message-ID: <1de8decd.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8decd.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,71981a4a2b57aadc
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-25 07:08:02 PST
From: "John Darnell" <John.Darnell@Walsworth.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Text Frames in AS
Message-ID: <1de8decd.0@WebX.la2eafNXanI>
Date: Fri, 25 Apr 2003 06:46:04 -0700
References: <1de8decd.-1@WebX.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit