This content has been marked as final.
Show 2 replies
-
1. Re: I need a simple script (Break Link To Style)
jonht Apr 3, 2012 5:35 PM (in response to Maria964)Hi Maria,
Jongware's post (http://forums.adobe.com/message/1890625#1890625) gave me a clue on how to do this.
Give this a try:
var i, j, myDoc = app.activeDocument,
allStories = myDoc.stories,
thisStory,
thisPara;
for (i = 1; i < allStories.length; i++) {
thisStory = allStories[i];
for (j = thisStory.paragraphs.length - 1; j >= 0; j--) {
thisPara = thisStory.paragraphs[j];
thisPara.applyParagraphStyle(myDoc.paragraphStyles[0], false)
}
}
alert ("Job Done!");
-
2. Re: I need a simple script (Break Link To Style)
atreidum Mar 23, 2013 7:23 AM (in response to jonht)You're script is very usefull. Thanks.
Just one detail, it doesn't work for table.
Any idea to do that ?
Thank you

