6 Replies Latest reply on Jun 22, 2013 7:25 AM by aanavaras

    Need to apply table fill color based on text content

    andreasf Level 1

      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!