var text=app.activeDocument.textFrames[0].textRange; app.activeDocument.characterStyles[0].applyTo(text,true);