Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

More documents to change

$
0
0

Hi All,

 

//This below coding is used to find specified paragraphstyle and change its fontsize, but I need to do change this request at more indesign files. And also advice which ways could we find?

 

var mydoc = app.activeDocument;

var mypstyle = mydoc.paragraphStyles.everyItem().getElements();

 

for (i=0; i < mypstyle.length; i++)

{

if (mypstyle[i].name == "Text")

    {

        mypstyle[i].pointSize = 15;

        }

}

    alert ("Done")


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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