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