var flag=app.activeDocument.textFrames[0].paragraphs[0].paragraphAttributes.hyphenation; alert(flag);