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

Remove font scaling - need help with FindChangeList.txt

Community Expert ,
Sep 03, 2014 Sep 03, 2014

Copy link to clipboard

Copied

First an overall question: Is there a utility or method that will let me convert a saved F/C query to the sort of written out expression required by the FindChangeByList.jsx script?

Like:

text{findWhat:" - "}{changeTo:"^="}{includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}Find all space-dash-space and replace with an en dash.

(This is just to jog your memory ... actually it's not the text string ones I need help with, but formatting find/changes.)

I need a fast way to go through a document and remove any instance of glyph scaling whether local or from a style. That is, to turn it back to 100% horizontal and vertical. This is necessary for good output in EPUB (Fixed Layout) format.

A script would be great, but lacking that, a way to write out that kind of formatting instruction to add to FindChangeByList.jsx would serve me well in the long run, as I have other similar kinds of doc-wide formatting I often need to do.

Thanks

AM

TOPICS
Scripting

Views

576

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 , Sep 03, 2014 Sep 03, 2014

For your first question, you can use the Record Find/Change script...
http://indesignsecrets.com/find-change-scripting-goodness.php

Votes

Translate

Translate
Community Expert ,
Sep 03, 2014 Sep 03, 2014

Copy link to clipboard

Copied

For your first question, you can use the Record Find/Change script...
http://indesignsecrets.com/find-change-scripting-goodness.php

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 ,
Sep 03, 2014 Sep 03, 2014

Copy link to clipboard

Copied

LATEST

Hey Jean-Claude that worked great, even in CC 2014!

The script is no longer on the page referenced in the blog post, but I found it here:

http://kasyan.ho.com.ua/scripts_by_categories.html

Scroll down to the Find-Change category. The script Record Find/Change CS3-CS5 was written by Martin Fisher.

There's a little glitch, for the formatting-only find/changes, it leaves superfluous space, like this:

text{, ligatures:true}{, ligatures:false}

You need to get rid of the comma and space after the opening brackets, otherwise you get an error when running the script. Clean it up like this:

text{ligatures:true}{ligatures:false}

Interesting about trying to turn off all scaling with Find/change. It does work, as long as you enter something in the Find Format field.  I entered "find text filled with black color".

But it doesn't find text that is being scaled due to Glyph Scaling entries in the underlying Paragraph Style. That remains scaled. On the other hand, text with that formatting appears to export just fine to fixed-layout format.

AM

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