Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Script to search for text and remove hyperlink and characterstyle that is applied (return to normal)

$
0
0

HI,

 

Just comment these two lines:

 

//.............if (myHyp[len].source.hasOwnProperty("sourceText") && myHyp[len].source.sourceText.contents == myFindVal) {     //     myHyp[len].source.sourceText.appliedCharacterStyle = noneStyle;     //     myHyp[len].source.sourceText.clearOverrides(OverrideType.ALL);     myHyp[len].remove();     myCount++;     }//..............

 

Jarek


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>