.spotKind только для чтения, как создать Spot c LAB координатами? По дефолту он SpotColorKind.SPOTCMYK.
PHP:
function addColorSwLAB(_array){
try {var _nSpot=myDoc.spots.getByName(_array[0])} catch(err) {
var _nSpot=myDoc.spots.add()
_nSpot.name=_array[0];
_nSpot.colorType=ColorModel.SPOT;
//_nSpot.spotKind=SpotColorKind.SPOTLAB;
_nSpot.color.a=_array[2];
_nSpot.color.b=_array[3];
_nSpot.color.l=_array[1];
}
return(_nSpot);
}