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

Re: Reset findTextPreferences.appliedParagraphStyle?

$
0
0

Hi Uwe,

 

Sorry -- I was being jived right out of the forums. Couldn't respond by email, couldn't log in via web.*

 

Thanks for your post. Even if it did pick it up, I tried it on a doc with 55 paragraph styles and it's taking over 13 seconds! (And afterwards I'll have to rename them all again = 26 seconds!). Any other ideas?

 

Here 's the test script:

 

renumber();

function renumber(){

    myDoc = app.activeDocument;

    myStyles = app.activeDocument.allParagraphStyles;

    for (i = 2; i<myStyles.length; i++){

        myStyles[i].name= myStyles[i].name+"ID"+myStyles[i].id;

    }

}

 

Thanks,

Ariel

 

* PS Just tried on Chrome and it's working. So something's up with Internet Explorer 10. Oh well...


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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