var f=app.activeDocument.rectangles[0].frameFittingOptions; alert(f.topCrop); alert(UnitValue(f.topCrop,"pt").as("mm"));