Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Looking up items by script label

$
0
0

Hi,

 

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?

 

Thanks,

 

Francis


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>