9 Replies Latest reply: Dec 8, 2014 11:03 AM by Martin Bacul�k RSS

    Conditional color

    Laura Sébille

      Hi everyone,

       

      I have a text box with a background color. I would like this background color to change according to the selection : if there is at least one selection in the document vs no selection. How can I do that ?

       

      I have found in the color parameter of the text box that I can add a "calculated" color. I guess I can do something like "if (condition, RGB (x,y,z) , RGB (x,y,z))

       

      But I don't know which function I can use for the condition...

       

      Thank you for your help !