var n=app.activeDocument.textFrames[0].paragraphs[0].paragraphAttributes.desiredWordSpacing; alert(n);