Search and select table columns by content and run grep find/change
Hi all.
I have a document with lots of tables, all of which have different amounts of columns.
I need to apply brackets around all of the text within a 'Notes' column, but this column does not feature in every table.
I was thinking that a script which selected any column containing the word 'Notes' and then ran a grep search on the selection (figures only) would be a quick way to achieve this.
For the grep search I was thinking that this would work:
app.findGrepPreferences=app.changeGrepPreferences=null;
app.findGrepPreferences.findWhat="\d+";
app.changeGrepPreferences.changeTo="($1)";
app.activeDocument.changeGrep();
but am struggling with the find/select element.
I'd be very grateful of any help.
Many thanks.