Apply Table Cell Style Based on Text Search
Hi, All, Just starting to get my feet wet with scripting for InDesign, but familiar with Javascript and Apple Script in general.
I'm trying to simplify the formatting of a number of tables, converted from Excel (to CSV, GREPed and reformmated in BBEdit, then into ID). While I have already done a lot of scripting for the tables when they're in nice, even columns, once I start merging cells and needing to apply new styles, I'm having to do it all manually again.
I'd like to be able to search for certain text strings (e.g., "Total Credits") in cells, then have the script apply a cell style. I realize this is looking for one thing, then trying to change something else. Is this possible and what functions should I start with? I've been searching here and elsewhere for solutions and poring through my references, but could use some direction at this point.
Thanks!