Article View: adobe.scripting.indesign
Article #18076Re: Simple AS "How come"
From: John Darnell
Date: Mon, 28 Apr 2003 16:15
Date: Mon, 28 Apr 2003 16:15
22 lines
1553 bytes
1553 bytes
Dave: Thanks for replying. Yes, the code is within a "tell application" block. I've done some additional testing since posting this. I wrote a tiny script that looks like this (please assume that all abbreviations are expanded in the script): tell app "indesign" tell doc 1 set myframes to every text frame of page 1 repeat with i in myframes return contents of i end repeat end tell end tell I ran this script with a single document open, with a single page created, with a single text frame with some text in it. In the results window I got the following information: "text frame id 148 of page id 123 pf spread id 118..." etc. I admit to being still wet behind the ears with both Applescript and InDesign, but I am asking for the contents and I am getting a description of the object. I am puzzled, to say the least.
Technical Details
Message-ID:
<1de8e7d1.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8e7d1.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b7270121fe8e3424,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-28 10:08:54 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-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: Simple AS "How come" Message-ID: <1de8e7d1.1@WebX.la2eafNXanI> Date: Mon, 28 Apr 2003 09:15:25 -0700 References: <1de8e7d1.-1@WebX.la2eafNXanI> Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit