8 Replies Latest reply on Jan 28, 2009 5:22 PM by dhishok

    [CS3 JS]Get all the tables in the document

    frameexpert Level 4
      Hello All,

      I want to return all of the tables in the document, including those in table cells. I am using this:

      var aTables = app.activeDocument.stories.everyItem().tables.everyItem().getElements();

      but it doesn't get tables inside of tables. Is there an easy way to do this without checking each table cell? Thanks in advance.

      Rick Quatro