Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have the following expression
I have a Text object with an Action of Select in Field, and it looks like this
But when I click the Text Object to select the fields, the background color should turn to the $(color.green)
but it does not seem to be working
Any help would be great
Hi Jagan,
One final question, how can I get the color to change for the excluded files
so I have select in field (.P|.R|.I|.W|.D|.WRX) and then Select Excluded
but how to get a new button to change color for all selections not in (.P|.R|.I|.W|.D|.WRX)
Thanks
Alan
Allan;
Try changing the expression of the action "select field" to:
(. P |. I) without the double quotes
inverting the expression passed by Jagan
= if (not WildMatch (GetFieldSelections (File, '|'), '(. P |. R |. I |. W |. D |. WRX)'), blue (), green ())
Thanks Claudio,
That works fine
I have used NOT WILDMATCH before, I just tend to forget these things if I have not used them in a while
Thanks again
U can go with Claudio expr for exclude values
Thanks Jagan.
However, although it does color the background based on the NOT part being added
It also continues to highlight if I select some of the other buttons
see below example, I selected .wrx, but it also highlights aof.
If I select aof first it's fine, but if I select .P|.R|.I|.W|.D|.WRX it also highlights aof
See the attachement.