Illustrator SDK :: How To Find That Art Item Has Spot Color
Jul 4, 2012
I have a number of art items on a document, some of them are filled with spot colors and some of them are with process color.Is there any api or method by which I can find out which color type(spot or process) is applied to the selected art item?
I have a number of art items on a document, some of them are filled with spot colors and some of them are with process color.Is there any method by which I can find out which color type(spot or process) is applied to the selected art item?
Some of the lighter, saturated colors in the PANTONE+ swatches library appear to be a different color in the swatch list than they are when applied to a design. see below for screen shots.
i can duplicate this situation on calibrated NEC MultiSync monitors and uncalibrated laptops. We are running on Mac OS X.8x and above.
Designers are complaining about not being able to pick a color from the Swatch Library in AICS6 or AICC. InDesignCC does not seem to have the same issue.
I have written a small application in .NET that gives color to Illustrator files.I have a layer with 100 color items (paths with a fillcolor). Each one has a unique name. Through that name my program looks them up, takes the fill color and applies that color to another path.Recently there was a change in Design, the drawings that I had to provide of a Fillcolor were no no longer pathitems but rasteritems (imported from photoshop). I thought ok no problem instead of setting the Fillcolor property I'll use the Colorize method on the rasteritems. It worked fine but now and then I came across a situation where raster-item didn't get the color. After digging in to it I saw that it was because some colors are Pantone colors and the colorize method on rasteritems only takes RGBColor or CMYKcolor objects. How to do it with the pantone colors?
I created an ad using one PMS color after orginially being told that it was a "Thanksgiving 4 column x 4.5” spot color ad”. I received the following message from the newspaper printer today:
"Please relay to your corporate art department that the newspaper does not print in PMS/Pantone colors, except on a full color page, which requires an additional color charge. For spot color, we print in primary colors such as red or green, or in cyan or magenta alone.
As I understood it, spot color meant pantone, and CMYK was process. Am I wrong here or are the printers using the term "spot color" incorrectly?
I create a logo in Illustrator. It is 2 colors, black and pantone 287. The gradient is only with the blue color. I save the file as a EPS. I place the EPS into another program, and generate a new EPS file with all the elements and type combined. My printer requires that all the fonts be converted to outline so I open the EPS again in Illustrator. The logo with the gradients has been converted to CMYK and the gradients now appear in the LINKS panel but they are not editable.
Why is this happening? How can I preserve the EPS so that I don't have to manually replace the converted gradient logo EVERY time I have to make a new EPS file?
Using CS6 on a MacBookPro Is there a way to find the closest matching Pantone spot colors to the cmyk colors I've created in Illustrator? I know it's easy in Photoshop using the color picker, but there must be a way to do this in Illustrator.
How can I make my spot color definitions choice persistent? I read a kb item that said how to swap out the new Pantone Plus color books for the old ones, to maintain color parity with older versions. One of the steps has me going to "Spot colors" on the swatches pallette and selecting "Use CMYK Values..." instead of "Use LAB Values...". I don't want to have to do this with every file. Is there a way to make this choice persistent?
I have 5 spot color ( Pantone) and CMYK color at my design. How can i export this 9 color ( seperate and with Pantone) to photoshop cs4? I want see 5 pantone color and cmyk at photoshop channel list!
In illustrator, how do you change a photoshop spot color channel that has been imported into illustrator. Ever since Illustrator CS2 you could import a psd into Illustrator and you could ungroup the channels and change the colors. How do you do that in CS3-6? I have been trying to figure this out for years. My old computer with Illustrator 10 is about to die and so will my ability to do what I descried above.
I am trying to grab specific spot colors and move them to separate layers for our cutting software. In this case I am trying to grab "perimeter cut" and move it to a layer called "tc 1" I get the following error when I try to run the script.
#target Illustrator var idoc = app.activeDocument; var ipath = idoc.pathItems; if (ipath.typename == "SpotColor") { if (ipath.spot.name == "perimeter cut") { ipath.move(tc 1, ElementPlacement.PLACEATBEGINNING). } }
I've been looking around for a script that will take the used spot colors in a document and place them in a predetermined spot. I've came across several posts about this, such as the COLOR CHIPPER although I think it's focus was on swatches. What is confusing is the part of making New CMYKColor or RGB or if I even need to do that. I've looked at other posts and the Adobe docs, but none seem to work. Adding the text isn't difficult, it's getting these spot colors to reflect what's in the document that is. From what I'm seeing now:
I may have to use some other type of script such as Applescript to get rid of unused swatches first throught the actions panel, but I'm not sure.I could possibly use the getByName method to call out the specific rectangle and the and relative callout with the appropriate color instead of having to position everytime.
I need to send vectorized art to this company that only uses Illustrator. I have never used or even opened Illustrator. Ok, I'm very familiar with Freehand so I get the basic idea about vector. I have a 3 color logo that I have saved as a Photoshop DCS .eps file with the channels saved as spot colors so I can print separations with Pantone colors. According to what I have translated from the Photoshop guide what I need to do is figure out how to get my clipping paths of each channel to retain its fill when I export paths to Illustrator. I've tried and when I open the vectorized paths in say Freehand there is only lines and no fills. Do you guys have any ideas on how I can get these file seperations to this company with Illustrator?
working in CS6, OS 10.6.8. I'm working on a 3-color screen print CD label, and the colors will be a white background, plus black and a PMS color. I've been recoloring some CMYK artwork to use in the design, and really liked the results of Recolor Artwork (selecting only black and the spot color), until I noticed that when I selected "tints & shades" it converted everything with black in it to process (which I know Adobe says is why you shouldn't select that option).
But my question is, how can I get the same effect (that is, using shades of the spot color "mixed" with black) without having it convert the shades to process? I'm sure it involves overprinting, but I'm hitting a big hole in my knowledge.
I am trying to add spot color in illustrator using javascript, TRY CATCH is not woking, it is adding again and again same color value with name of "spot color 1" and "spot color 2" ...
try { var myDoc = app.activeDocument; var spotName = "FINISHING"; var spot = myDoc.spots.add();
I just need to go from K and tones of K to a spot color and tones of a spot color.
I'm using recolor artwork because I can't merge into K. The art comes in from our customers as K so we can't just design differently.
The rectangles on the right are k and tones of k. The rectangles on the left are the results after converting to a spot color with recolor artwork. Using recolor artwork. I just need a way to accurately move the tones from k to a spot.
I have been trying to mess with and target "tints" via javascript but either I am not understanding something or it cant be targeted as I had hoped, so I am looking for direction and guidance. I have a spot color assigned in the color swatches palette, and have drawn a few boxes on the page using this spot swatch. I then try to alter the tint using JS code.
sel[i].tint = // whatever number alert(sel[i].tint) // This alerts fine
The alert shows a change taking place but it never gets applied to the item, the actual item never gets changed. I know things are properly targeted as I can change other attributes fine. When I look in the JS documentation it just shows for when creating a new spot, not for ones that already exist on items, I cant seem to find an example otherwise.
Can tint be adjusted for items on the page that have a spot color applied?
I need to create an illustration with only a certain amount of colors. I cleared out everything from my swatches palette and asked it to "add used colors." A color keeps popping up when I do this that I can't find in the actual illustration! But it must be somewhere. Is there a way to search for that color... so I can see where it is? I've tried selecting every piece of artwork, checking it, then locking it... but I'm not finding it.
i'm looking for a Pantone color, that has this code "PMS 583 C", i tried typing it in the Pantone Solid Coated library searchbar but i couldn't find it. does it have a different code or something, the color is greenish.
I recently upgraded to Mac OS X Mountain Lion and was informed that I needed to uninstall and reinstall Photoshop Elements 6. The Setup application could not be opened, however, because of Javascript errors (according to the error message). I couldn't find an uninstall item for Elements 6 anywhere on my hard drive. (My iMac is a late 2009 model.) How should I proceed?
Is it possible to find out how bright is an color? I need to find the darkest color in document's swatches. My solution would be to convert (script internally, without actually making any changes in document) swatches to grayscale, compare them and pick the darkest. But how to convert swatch defined in undefined mode (they might be in lab or cmyk) to grayscale?
I found in 'js scriping reference' a method "convertSampleColor", but I have no idea how to use it. Any examples?
I'm trying to create a swatch in Illustrator with our company's colors. I already succeedid in creating a palet with the RGB and CMYK colors, but I also want to do this with the PMS colors.However, I can't seem to find the correct color book in which to locate the correct PMS color.
I only have the number of the PMS color, I don't know which color book to choose?