3 Replies Latest reply on May 31, 2010 10:03 AM by joecab

    AS3, ID3: Finding a table on a page to copy the text it contains

    joecab

      In my script, I need to go to a table on the current InDesign page and access the info inside of it by just copying the text of the entire table. I know there must be some supremely easy way to do this, but how? The cells within the table all use the same paragraph style, and the text frame the table sits in has a label. Do I search for the para style, then somehow refer to its parent or something?

       

      The tricky bit for me seems to be telling my script to find the tabel on the page and selecting it, since once I can do that I assume I can just change the table to text to get to all that data.

       

      I'm using Applescript in InDesign CS3. Thanks.