• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Find FONT SIZE not equal to

New Here ,
Jul 17, 2020 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.

TOPICS
How to , Type

Views

525

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
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 17, 2020 Jul 17, 2020

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

Votes

Translate

Translate
Community Expert ,
Jul 17, 2020 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

 

Votes

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
community guidelines
New Here ,
Jul 17, 2020 Jul 17, 2020

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Community Expert ,
Jul 17, 2020 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? 

Votes

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
community guidelines
New Here ,
Jul 17, 2020 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 🙂

Votes

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
community guidelines
Community Expert ,
Jul 17, 2020 Jul 17, 2020

Copy link to clipboard

Copied

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

Votes

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
community guidelines
New Here ,
Jul 17, 2020 Jul 17, 2020

Copy link to clipboard

Copied

No that was just an example... 

Votes

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
community guidelines
Community Expert ,
Jul 17, 2020 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;

 

Votes

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
community guidelines
Community Expert ,
Jul 17, 2020 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.)

Votes

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
community guidelines
New Here ,
Jul 17, 2020 Jul 17, 2020

Copy link to clipboard

Copied

Got it, this could do it 🙂

Votes

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
community guidelines
LEGEND ,
Jul 25, 2020 Jul 25, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines