Answered
adjust script to create processs and RGB swatches
i need to two seperate scripts...
1 that will make a process color swatch
and a second that will create a RGB swatch
i have been using this to create my spot color swatch but i do not know what needs to be revised to make the two additional versions that i need
try { var newSpot = app.activeDocument.swatches.getByName("SPOT 262"); alert("spot 262 already exists")}
catch (e) {
var newSpot = app.activeDocument.spots.add();
var newColor = new CMYKColor();
newColor.cyan = 52;
newColor.magenta = 92;
newColor.yellow = 12;
newColor.black = 50;
newSpot.name = "SPOT 262";
newSpot.colorType = ColorModel.SPOT;
newSpot.color = newColor;
var newSpotColor = new SpotColor();
newSpotColor = newSpot;
newSpotColor.tint = 100;
}
//alert("done"); }
as always, any help is appreciated
scott
scott
