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

Tab setting Clear

$
0
0

Hi

 

How can I remove ALL tab settings from the specified paragraph Style. I think line no. 9 is error. Please advice.

 

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


for (i=1; i<mypstyle.length; i++)
{    if (mypstyle[i].name == "77")    {        mypstyle[i].tabStops = TabStops.CLEAR_ALL;    }
}
alert("Done")

 

Regards,

Vetha


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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