javascript - Target nested tables InDesign script -


i trying change width of column in nested table, isn't working. doing wrong? works fine when table not nested.

un-nested works:

app.activedocument.stories.everyitem().tables.everyitem().columns[0].width = "53mm"; 

nested doesn't work:

app.activedocument.stories.everyitem().tables.everyitem().tables.everyitem().columns[0].width = "53mm"; 

insert .cells.everyitem().texts[0] solve issue.

try code

app.activedocument.stories.everyitem().tables.everyitem().cells.everyitem().texts[0].tables.everyitem().columns[0].width = "53mm"; 

Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -