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