4 Replies Latest reply on Oct 19, 2011 3:23 AM by Loic.Aigon

    [JS] Get all tables (really all) ?

    Loic.Aigon Adobe Community Professional

      Hi all,

       

      I am trying to target every table in a document, even though inside a cell of a table.

      I thought app.activeDocument.stories.everyItem().tables.everyItem() would have done it but it's obviously not exhaustive.

      I could use a recursive function but before that I wish to check if there is a dom property that I am missing.

       

      So question is : Is there a way to grab every single table object container thanks to javascript ?

       

      TIA Loic