Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

[AS] How to test the presence of at least one table?

$
0
0

Hello everyone,

 

 

I would like to test for the presence of at least one table in a document before starting a process (on edge strokes). 

 

I found this, but I do not know if this is really effective:

                              setCountOfTables1tocountoftablesofeverystory

                              setCountOfTables2toeverytableofeverystory

 

The first gives me a list of the number of table in each story; the second gives me the objects reference of every table.

 

Is there another way?

 

TIA.

 

Oli.


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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