Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Apply table style based on cell content

$
0
0

I am using InDesign 5 and am on a Mac, OS 10.8.5.

 

Does anyone know how to apply a table style based on text contents found in a cell in javascript?

I need to search the document and change every table style to "verbatim orange LONG" if the text "HS:" appear in the header row.

 

I've been playing with the scripts found in the following 3 threads, but can't get it to apply a table style.

 

Thanks!

 

Apply Table Cell Style Based on Text Search and How to apply a table cell style based on grep search? and Re: Find PStyle and apply Cell Style in Table


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>