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

Need to apply table fill color based on text content

$
0
0

Totally new to Indesign-scripting – but really need a solution to this:

 

I have a table

 

I want to fill the table cell with a different color based on text content.

 

If cell contents the text "Apple" fill color of cell should be color swatch "Red"

 

If cell contents the text "Banana" fill color of cell should be color swatch "Yellow"

 

 

 

Any help most appriciated!


Viewing all articles
Browse latest Browse all 15932


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