var myLayer=app.activeDocument.activeLayer; alert(myLayer.bounds); alert(myLayer.bounds[0]); alert(parseFloat(myLayer.bounds[0]));