Re: De-emphasis components
Reply #120 –
I don't know if there's a better place to put this, but I made a column script to display "Yes" if the PRE-EMPHASIS or PRE_EMPHASIS tag is present and valid. It will display "INVALID" if the tag is not valid. I made sure it works for all valid tags regardless of capitalization because the values "yes" or "on" are not case-sensitive for activating the de-emphasis plug-in. I found this functionality useful and thought others here might as well.
$if(%PRE-EMPHASIS%,$if($or($stricmp(%PRE-EMPHASIS%,1)$stricmp($upper(%PRE-EMPHASIS%),ON)$stricmp($upper(%PRE-EMPHASIS%),YES)),Yes,INVALID))$if(%PRE_EMPHASIS%,$if($or($stricmp(%PRE_EMPHASIS%,1)$stricmp($upper(%PRE_EMPHASIS%),ON)$stricmp($upper(%PRE_EMPHASIS%),YES)),Yes,INVALID)) |