Copy link to clipboard
Copied
Bom dia!
Gostaria de saber se tem a possibilidade de selecionar várias tabelas dentro de um bloco de texto para que possa editar todas ao mesmo tempo, tanto texto, fio, linha, coluna... etc.
Obrigado, se puderem me ajudar!
Celso.
Copy link to clipboard
Copied
Hi @Diário Oficia27875179qqfe ,
no, you cannot select multiple tables in one go to use all the functions InDesign provides for a selected table.
But there are ways to change properties of multiple tables at once.
If your tables share a mutual table style, change the applied table style.
But if you want to change the width of a specific column for all tables in one story, in one document, in one selection of text, you have to script that. Column width is not part of a table style. If you want to do that for all tables in a text selection, here one sample to change the width of the last column of all tables regardless how many columns a single table has:
// Code for ExtendScript (JavaScript)
// Change width of the last column to 50 mm of all tables in a text selection
// NOTE: Selected text MUST contain at least one table.
app.selection[0].tables.everyItem().columns[-1].width = "50mm";
Different example, change the width of the first column:
// Code for ExtendScript (JavaScript)
// Change width of the FIRST column to 50 mm of all tables in a text selection
// NOTE: Selected text MUST contain at least one table.
app.selection[0].tables.everyItem().columns[0].width = "50mm";
The second column would be columns[1], the column before the last one would be columns[-2] etc.pp.
Regards,
Uwe Laubender
( Adobe Community Expert )