0 Replies Latest reply on Mar 10, 2011 9:00 AM by Francis Devereux

    Looking up items by script label

    Francis Devereux



      I have a document with a table in in that I want to add content to programatically.


      I've seen that I can give a label to tables by using InDesign's 'script label' feature (Window->Utilities->Script Label).


      Can I look up a Table object from a Document object using its label, or do I have to loop over all the PageItems, then loop over all the Tables within each PageItem and see if Table.getLabel() returns the script label that I am looking for?