🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18081

Getting a list of text frames

#18081
From: John Darnell
Date: Mon, 28 Apr 2003 19:32
12 lines
1288 bytes
I am attempting to get a list of text frames through this code:

tell application "InDesign"
tell active document
set mypage to page 1
set textlist to every text frame of mypage

The script errors out at this last line, telling me "Can't get every text frame of page id 123..." etc.

How does one procure a list of text frames from the page (or wherever)?

My apologies for these simple questions, but I can't seem to find the answers in the references I am looking at (which probably means I don't know where to look).
Technical Details
Message-ID: <1de8e8db.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,2c6a9a0526fb19e4,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-28 12:39:51 PST
From: "John Darnell" <John.Darnell@Walsworth.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Getting a list of text frames
Message-ID: <1de8e8db.-1@WebX.la2eafNXanI>
Date: Mon, 28 Apr 2003 12:32:10 -0700
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit