Article View: adobe.scripting.indesign
Article #467Re: give line, pls
From: jongware
Date: Sun, 22 Mar 2009 16:09
Date: Sun, 22 Mar 2009 16:09
18 lines
1089 bytes
1089 bytes
A table is part of a collection of 'Tables', not items inside a paragraph.
So, presumably,
myTable = MyFrame.textframes.tables.item(0)
should work.
You don't have to 'item' everything,
tables[1]
should work as well. Also notice the difference between [0] and (0). [0] is the first item in an array (not [1]!), as in tables[0] -- since 'tables' is an array. item, on the other hand, is a function, and its argument should therefore be inbetween parentheses.
Technical Details
Message-ID:
<59b86001.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b86001.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f7f3f8cd2acb0e4e X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: jongware@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: give line, pls Message-ID: <59b86001.0@webcrossing.la2eafNXanI> Date: Sun, 22 Mar 2009 09:09:16 -0700 References: <59b86001.-1@webcrossing.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit