Highlighted

Find FONT SIZE not equal to

New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

Hi,

 

Is there a way to find/search for texts with font-size not equal to a specific number (let say 12pt)?

Thanks.

Most Valuable Participant
Correct answer by Jongware | Most Valuable Participant

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.)

TOPICS
How to, Type

Views

63

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Find FONT SIZE not equal to

New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

Hi,

 

Is there a way to find/search for texts with font-size not equal to a specific number (let say 12pt)?

Thanks.

Most Valuable Participant
Correct answer by Jongware | Most Valuable Participant

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.)

TOPICS
How to, Type

Views

64

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 17, 2020 0
Adobe Community Professional ,
Jul 17, 2020

Copy link to clipboard

Copied

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:

 

https://indesignsecrets.com/topic/grep-for-negative-pattern-match-60

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

Thanks, but that covers only words/letters, I need to "omit" font style...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
Adobe Community Professional ,
Jul 17, 2020

Copy link to clipboard

Copied

GREP could not handle that. It could be scripted, though. What do you want to do to the text after you find it? 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

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 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
Adobe Community Professional ,
Jul 17, 2020

Copy link to clipboard

Copied

For any text with font size not equal to 12pt?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

No that was just an example... 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
Adobe Community Professional ,
Jul 17, 2020

Copy link to clipboard

Copied

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:

app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().texts.everyItem().horizontalScale = 94;

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
Most Valuable Participant ,
Jul 17, 2020

Copy link to clipboard

Copied

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.)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 1
New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

Got it, this could do it 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 17, 2020 0
Adobe Employee ,
Jul 25, 2020

Copy link to clipboard

Copied

Hi there,

 

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.

 

Regards,

Ashutosh

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 25, 2020 0