Copy link to clipboard
Copied
How to remove the character style overrides.
Its working if the content is non XML. But its not working if its xml structure content.
How to check the applied character style if whole paragraph applied character style.
var myDoc = app.activeDocument;
var mystories = myDoc.stories;
for (var i = 0; i < mystories.length ;i ++){
for (var j = 0; j < mystories.paragraphs.length ; j ++){
if (mystories.paragraphs
if (mystories.paragraphs
try {
mystories.paragraphs
mystories.paragraphs
} catch(e){}
} } } }
Copy link to clipboard
Copied
suggestion please
Copy link to clipboard
Copied
I have a dim memory of being advised by an Adobe scripting expert to use the applyCharacterStyle() method. So my styling scripts use something like:
mySelectedText.applyCharacterStyle(app.activeDocument.characterStyles.item("[None]"));
It may very likely make no difference, but it's a easy thing to test.
Bob
Copy link to clipboard
Copied
Hi,
Is there any way to highlight the override text as like any other fonts may be applied again the para/character style?
Thanks in advance.
by
Hasvi
Copy link to clipboard
Copied
Hi Hasvi,
you can do that without a script with e.g. GREP Find/Change.
Find all paragraphs with a certain paragraph style and apply the same paragraph style with change.
That will remove all overrides.
Regards,
Uwe
Copy link to clipboard
Copied
Hi Hasvi,
You could use the override highlighter button on the Paragraph Style panel to highlight the overrides. Look at the + button on the top right of the Paragraph Style panel.
-Manan
Copy link to clipboard
Copied
Hi,
I am a QC person so I should not change any style once it't typesetted. Also, I try with highlighter button option, I am not able to find the highlighter button overrides:
thanks,
by
hasvi
Copy link to clipboard
Copied
I think you are using an older version of InDesign, in the later version we do have this option available. Have a look at the image below
Also i did find out a script that you can try, you can read and download about it from the following link
Showing Text Formatting Overrides | in-tools.com
-Manan
Copy link to clipboard
Copied
Hi,
to highlight the overrides or to check what paragraph style is used for what, what character style is used for what text in a glance you could use Marc Autret's script StyLighter:
Indiscripts :: StyLighter 1.4 for InDesign CS4/CS5/CS6/CC
Regards,
Uwe
Copy link to clipboard
Copied
Yes, Got it and it works well.
by
hasvi