Unfunction of Script
This is script is showing number of paragraphs only.Style is not applying. Please resolve it.
var myDoc=app.activeDocument;
var myPara=app.activeDocument.textFrames.item(0).paragraphs.everyItem().getElements();
alert(myPara.length);
for(i=0; i<myPara.length; i++){
if(myPara.pointSize="12pt")
{
myPara.appliedStyle="TX"
}
}