Onnozel wrote
The background of the text is YELLOW.
so I don't think he knows what the names of these conditions are. This will remove the text in any condition with 'background is YELLOW':
app.findTextPreferences = app.changeTextPreferences = null;for (i=0; i<app.activeDocument.conditions.length; i++){if (app.activeDocument.conditions[i].indicatorMethod == ConditionIndicatorMethod.USE_HIGHLIGHT && app.activeDocument.conditions[i].indicatorColor == UIColors.YELLOW){ app.findTextPreferences.appliedConditions = [app.activeDocument.conditions[i]]; app.activeDocument.changeText();}}