Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

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 37788