Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how can i select all table

New Here ,
Feb 02, 2019 Feb 02, 2019

I have many tables

i want to select all table and change all style withe table style

and i want to change all row height??

[ moved from InDesign to InDesign Scripting by moderator ]

TOPICS
Scripting
2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 02, 2019 Feb 02, 2019

I believe that could only be done with scripting. If you don't get an answer here, please ask in the InDesign Scripting forum:

InDesign Scripting

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 02, 2019 Feb 02, 2019
LATEST

You cannot select all tables of a document with InDesign's user interface.

But you can access all tables ( and all cells ) of a document with scripting.

One approach is this:

app.documents[0].stories.everyItem().tables.everyItem().cells.everyItem().properties =

{

autoGrow : false ,

height : "10mm"

};

Just to give you an idea.

This little code snippet written in ExtendScript (JavaScript) is accessing all tables of all stories in the active document and their cells.

And sets the property autoGrow of every cell to false and the height of every cell in all accessed tables* to a fixed height of "10 mm".

Tables nested in table cells are not accessed by this.

Regards,
Uwe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines