Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87561

Re: how to table in text center

$
0
0

ExtendScript is case-sensitive:

j is not J

 

Look here online in the DOM (Document Object Model) documentation:

Adobe InDesign CS6 (8.0) Object Model JS: Text

 

So this will work:

 

myTable.cells.everyItem().texts[0].justification = Justification.CENTER_ALIGN;

 

Best download the CHM file version of the documentation (for best searchability offline) from here:

Indesign JavaScript Help

 

Jongware did a fabulous job to create them…

 

Uwe


Viewing all articles
Browse latest Browse all 87561

Trending Articles



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