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
Post a Comment