That sounds like something that could be done with GREP (pattern matching), available in the Find/Change dialog. I'm not enough of an ace with GREP to give you the answer, however. Here's a discussion that covers a similar topic:
Thanks, but that covers only words/letters, I need to "omit" font style...
GREP could not handle that. It could be scripted, though. What do you want to do to the text after you find it?
Got it, thanks.
I need to look for any text that does not have horizontal scale 94% and if found, change it to horizontal scale 94%.
Please give me some inputs 🙂
For any text with font size not equal to 12pt?
No that was just an example...
Jongware's solution is good. If all text in the document should be 94% horizontal scale, this one line script should do it (though it would miss text in tables).
app.activeDocument.stories.everyItem().texts.everyItem().horizontalScale = 94;
If you need tables, too:
Create a red swatch. Change the color of all text in 12pt to red. All remaining black text has another size. When dine delete the red swatch and replace it with black again.
(If your text uses color: no problem. Just pick any other text attribute which can easily be un-done.)
Got it, this could do it 🙂
Thanks for reaching out. I hope your issue is resolved now. We'd appreciate if you can mark the appropriate answer correct.
If you used any other method, please share it here. It'll help other users having similar concern.
If you still have issues, let us know. We'll be happy to help.