2 Replies Latest reply on Oct 1, 2009 7:55 AM by allisonblake

    AS/CS3: Find tables in stories

    allisonblake Level 1

      Hi all,

      Applescript newbie here.

      I am trying to write a script that will tell me if there are any tables in any of the stories in a document.

      What would be the best way to go about this?

      I can find all the text elements on the page but don't know how to drill down into the text to find the tables, if they exist.

      Ultimately, I want to display a dialog that would say "there are tables on page x, y, and z" or "there are no tables in this document"

      Any help would be appreciated!