■ソースコード preferences.rulerUnits = Units.PIXELS; w = activeDocument.width; h = activeDocument.height; alert(w+","+h); w = activeDocument.width.value; h = activeDocument.height.value; alert(w+","+h);
■ポイント なし