var textItem=app.activeDocument.textFrames[0].textRanges[1]; app.activeDocument.paragraphStyles[0].applyTo(textItem,true);