Convert color to spot color (if it exists)

Hi
I have a script I've cobbled together (apologies if it looks cumbersome!), which searches for black fills/strokes and text, and converts them to a spot color. I need to adapt it so that if it doesn't find an object matching the criteria, then it carries on, rather than stopping with an error:
tell application "Adobe Illustrator"
          set mydoc to document 1
--make spot color, name it apple red
          if not (exists swatch "Black Plate Change" in mydoc) then
                    make new spot in mydoc with properties {color type:spot color, color:{cyan:0, magenta:0, yellow:0, black:100}, name:"Black Plate Change"}
          end if
end tell
tell application "Adobe Illustrator"
          tell application "Adobe Illustrator"
                    do script "Ungroup" from "Default Actions" without dialogs
          end tell
          set fill color of every path item of document 1 whose fill color is {class:spot color info, tint:100.0, spot:spot "[Registration]" of document 1} to {class:spot color info, tint:100.0, spot:spot "Black Plate Change" of mydoc}
          set fill color of every path item of mydoc whose fill color is {cyan:0, magenta:0, yellow:0, black:100} to {class:spot color info, tint:100.0, spot:spot "Black Plate Change" of mydoc}
          set fill color of every path item of mydoc whose fill color is {cyan:0, magenta:0, yellow:0, black:40} to {class:spot color info, tint:40.0, spot:spot "Black Plate Change" of mydoc}
          set stroke color of every path item of mydoc whose stroke color is {cyan:0, magenta:0, yellow:0, black:100} to {class:spot color info, tint:100.0, spot:spot "Black Plate Change" of mydoc}
          set fill color of words of every text frame of mydoc whose fill color is {cyan:0, magenta:0, yellow:0, black:100} to {class:spot color info, tint:100.0, spot:spot "Black Plate Change" of mydoc}
          set fill color of words of every text frame of mydoc whose fill color is {class:spot color info, tint:100.0, spot:spot "[Registration]" of document 1} to {class:spot color info, tint:100.0, spot:spot "Black Plate Change" of mydoc}
end tell
Appreciate any help.

Use "Adjust Color" from the "Tools" menu and move the "Saturation" slider all the way to the left.

Similar Messages

  • Converting CYMK to spot color?

    Alright, i just read the 'how to get help quickly', and will attempt to not let my panic show through too much:
    I designed graphics to go into my college's literary magazine. I used only two colors: brown and green (8dc63f and 603913). However, last week he informed us (the magazine production people) that RGB wasn't acceptable, since he was going to print in something called 'spot color'. Never heard of it before, but after reasearching, I think I have a vague grasp on it: basically instead of CYMK printing process, he's just going to have two plates, one with each color, and stamp them on the pages (like screen printing). That's fine, but I don't understand how it relates to my files. So we sent the psd files to the printer's "photoshop specialist" and then yesterday I was informed that there was no way to seperate the colors into pantone plates, and that either the book was now going to be blank (thankfully the cover is going to be printed seperately in CYMK so that's fine), or we could use clipart (!!thanks for discrediting a semester of my work), or I could learn to use illustrator and redesign the whole book by monday.
    I panic, obviuosly, because after downloading the trial version of illustrator I realized that it's actually nothing like working in photoshop (where's my tablet sensitivity? this is NOTHING like 'illustrating'), and at the end of last night's terror, this is all i could produce:  http://img576.imageshack.us/img576/2993/illustrator.jpg
    Now for reference, the image I originally made in photoshop looks like this (when placed on a brown background to simulate paper): http://img829.imageshack.us/img829/7015/photoshopf.jpg
    I am very confused, because I don't understand why the printing company can seperate the illustrator file into two color plates, but not the photoshop file. Both use the same colors (Pantone 375 and Pantone 161 C, I've learned). I have no clue how to save ANYTHING in 'spot format', the only difference between photoshop and illustrator is that I can click on the pantone swatch in illustrator.
    Obviously I'm ignorant and confused, and I appologise for that, since it only makes this situation worse (who knows if I'm using the right terminology).
    tl;dr:
    I have a whole bunch of psd files that need to be converted to something called 'spot color format'
    the images are graphics to be placed in an indesign file, not to be printed on their own, so really, they have to be in the spot color format.
    Is there any way in reality to maintain the quality of these images and convert them into 'spot color format'?
    I'm still trying to understand illustrator (I'm really a painter, not a designer -- wtf is a vector), but would love to convert the psd files I already have into something usable. the printer people didn't know how, I don't know how (or even understand the issue), but maybe you will?

    I tried this with the image you posted, so I can describe in detail the steps.
    From the image menu choose Duplicate to keep the original for reference.
    From the Image menu choose Mode > CMYK Color.
    In the Channels palette, delete (by dragging to the trash there) all channels except the Yellow and Black channels.
    Double click the icon of the Black channel and in the window that opens click on the color swatch, then in the next window that opens click the Color Libraries button, and when the next window opens type quickly on your keyboard 161, make sure the desired color is picked and press OK on this and previous window to apply.
    Repeat the same for the Yellow channel but choose 375.
    Select the 161 channel (former Black) and press Ctrl + L to open Levels. Drag the middle arrow of Input Levels referring to the original to get similar darkness (to me around 0.30 looks similar shade). Press OK to apply and close.
    Hold Ctrl and click on the icon of the 375 (former Yellow) channel to load its shading as a selection, and press Ctrl + Shift + I to invert the selection.
    Make sure the 161 (former Black) channel is selected and press Ctrl + L to open Levels again. Move the right (white) arrow of the Output Levels (at the bottom) until the background matches in brightness the background of the original (to me 150 looks similar).
    That's basically it based on my quick try with your image. This example should help you understand the basic idea and from there if you like, you can further play with the image if you feel you can make it any better with these two colors.
    Regarding Spot colors, the idea is that a printing press uses 4 color plates (in Photoshop represented as the four CMYK channels when the image is in CMYK color mode) to print all possible process colors by mixing these four colors (inks). Spot colors are pure inks in cans and each spot color (ink) requires its own plate. Sometimes people print 4 process color plus an additional spot color for achieving a special effect like gold ink or pure corporate color to ensure color consistency which may not be as good when using the four colors mix. But very often, spot colors are used for printing with less than 4 plates to save money and sometimes for artistic effect with special inks.
    Following the above example converts the CMYK document to Multichannel Color mode and you have only a few file formats available for saving in the Save As options. From these, practical ones are DCS and PSD files. Both are OK for printing but you may want to confirm with your printer. However if you want to place Multichannel image in programs like Illustrator or inDesign you have to use DCS.

  • Converting CMYK colors to spot color?

    My publisher/printer requests a "hi-res pdf" as camera ready copy for a book I'm writing which will be printed in 2 colors (black and a spot color shade of blue).  The pages have images from various sources and text with CMYK approximations of that blue which I'd like to convert to the spot color.  Is there a convenient way to do this sort of operation through "preflight" or convert colors - so the final document has only K of CMYK and the spot color?

    Yes, see my reply here.

  • Text reflow when converting from rgb spot color to process black

    The setup that I'm using is a G5 Mac OSX, version 10.4.11. The InDesign application is CS3, version 5.0.3. The fonts are loaded into Extensis Font Reserve, server 1.7.4. The InDesign document has a text box using 2 different font sets. One set, Helvetica Neue, uses the rgb spot color. The other one, a mixed set of New Century Schoolbook, is used for a paragraph which is process black. When deleting the rgb spot color from the swatches and converting it to process black, the New Century Schoolbook reflows which had already been process black.
    If I just select the Helvetica Neue type and change that line to process black there is no reflow problem.
    When I tried this document on another Mac with the same set up there was no reflow. Is this an InDesign preference problem? Thanks

    If you change the color back and then back again, do you get more reflows?
    The reason I ask is that when InDesign opens a document, it holds the existing composition of stories until you apply any edit. So, it could be that what you're seeing here is that yours and your user's setups are different enough that reflow is inevitable the moment you edit the text, and changing the color counts as editing.
    Dave

  • Convert CMYK to Spot Color or 2 Color in Adobe Acrobat 9 Standard

    I have a file that is in a CMYK color format. The original document was created is MS Word. The file is currently CMYK but the printer I am sending it to needs either Spot Color or 2 color. Can I conver CMYK to either of these in Acrobat 9 standard?

    I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
    the log says the bellow details...what's the problem and how can i resolve it? thanks.
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: show ]%%
    Stack:
      %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

  • Converting from a spot color to a color for a RGB document?

    How can I take a spot color from the Pantone Swatches Library and convert it for use in a RGB document? Thanks.

    kat,
    You may:
    1) Click the Pantone Swatch, or a path to which it is applied;
    2) Switch to RGB (for RGB, CMYK for CMYK) in the Color palette/panel, and ;
    3) Click New Swatch in the Swatches palette/panel flyout, see that Color Type says Process Color, give it its name (and make it Global if relevant), and press OK.
    With that you will have the corresponding RGB colour (closest match) as a swatch.

  • Help converting to 2 spot colors

    Hello All,
    I am ashamed to say I am a teacher in a vocational high school that doesn't know much about
    computer programs.  I am an old camera/stripper person. I have been teaching 24 years and am well
    versed in PageMaker, In=Design and Photoshop.
    What I am trying to do is the following.
    I am trying to convert a vector image into 2 spot colors.
    For example:  I have a wreath and bow    I would like to print the wreath in a
    PMS 348 and the bow in 185 Red.
    I can of course do this with process colors, but often the job does not warrant
    using process so I would like to be able to print using solid PMS colors.
    I think that is it in a nutshell.  I have tried to work in Photoshop but have had no luck.
    My questions are:
    1. - I am using a Vector image from an artbook CD. - Is this good?
    2. - Can I convert a picture downloaded from the internet?
    3. - How can i learn to do this? - I have looked for online help and the school will not pay
    for me to take a course.
    Lastly, I understand layers well but have little to no knowledge of Channels
    I sure would like to be able to show the students how to do this.  Does anyone know how to do this
    or where I can view  tutorial on this matter.
    I sure would appreciate any help.   Thanks   Print Dad

    You don’t say what version of Illustrator, but regardless if you already have vector art I’d stay away from converting a rasterized image to vector.  There are relatively easy ways of doing what you want with a vector image with the merge swatch feature, but that depends on what sort of vector image you have.  Presumably the vector wreath you are working with is made up of a number of rgb or cmyk values.
    1         OK, so you are starting with a vector image, that’s a good start.  Are you positive it is vector?  In Illustrator can you see all the points when you select the object, and not just one big square?
    2         You could convert a picture from the internet, but that would not work nearly as well.
    3  See below:
    Delete all the swatches from you pallet.  Drag a 185 & 348 swatch from the pantone pallet to your swatch pallet.
    Set the Magic Wand to a useful value (double click on the wand to bring up the dialog box).  The lower the value the more work you’ll have to do, but you’ll wind up with more shades of red and green).
    Click on the most saturated area of red with the Magic Wand Tool.  Click on your 185 red swatch.  Hide the newly minted resulting 185 red (Ctrl-3).
    Click on the next most saturated area of red with the Magic Want Tool.  Click on your 185 red swatch.  On your color pallet, reduce the pantone 185 red to less than 100% to taste.  Hide the result with the Ctrl-3 command again. 
    Keep going until there is no red remaining visible, and then do the same with the green.
    When you can see no more remaining parts of the wreath, you should be almost there.  Just to be sure, do Ctrl-A and make sure nothing gets selected (for instance white objects) when you do so.  If nothing gets selected, you should have only the items you have colored.  Use the command Ctrl-Alt-3 to reveal all the items you have hid.  (The hide and unhide are under the OBJECT menu, but the shortcuts are a bit quicker).  If you do have white objects, you can still use the pantone red/green and set the color percentage to 0%.
    Select the print command and print to a postscript device.  (A .pdf output will work if you are not hooked up to a postscript printer).  In the resulting print dialog box click on the “Output” command in the upper left corner.  Under the Mode select “Separations” Hopefully if all went well, under the Document Ink Colors only 185 Red and 348 Green will have a little printer icon next to them.
    No need to concern yourself with channels.

  • Converting CMYK to Spot Color (InDesign/Illustrator)

    I have come across a client that have sent files built in process or CMYK.  We want to make it a 2 color job (2 spot colors) but they have not chosen colors.  What is the most effective way to determine the spot color that matches the CMYK procees within InDesign/Ilustrator.  If it easier to do on one of the 2 programs I am completely open to using either.

    You can do it with Photoshop. Click the Foreground color picker, enter the CMYK values, choose Color Libraries, select the Pantone book you want to reference, and the closest ink will be displayed. Keep in mind that the appearance of CMYK depends on the document's color profile or the Color Settings' CMYK Working space if nothing is open. So, for example US Sheetfed Coated will likely return a different Pantone color than US SWOP Coated.

  • The oddest thing with Illustrator CS6, I have a customer's file from Illustrator CS5, I'm trying to make a gradient from Process colors to Spot colors, I've done this to the fill, but it only did the stroke, even though the color pallete shows there's no

    I have the gradient with PMS 288 and PMS 2915, I see only the outside of the fill recognizing this change. I wish I could attached the file to this question.
    The file is from AI CS5, I'm working on it in AI CS6.

    after expanding appearance under objects, I was able to correct this gradient. I called adobe support, they couldn't help I figured this fix on my own, but still I'd like to know what kind of path this was. there was nothing applied in the appearance pallette. But once expanding I had two paths.

  • Maximum of 27 Spot Colors

    Hi,
    I work at a printing company.  Everything I know about Adobe Illustrator, Photoshop, and InDesign, I learned on the job with no classes or prior knowledge.  I handle all the graphics that come through our shop, and every now and then I get artwork that when I try to save it in Illustrator, I get an error message that says Illustrator can only support a maximum of 27 spot colors.  I don't even know what that means.  Can someone explain to me in normal english what the problem here is, and how I can resolve it? 
    Thanks!

    Well, logic suggests that there are objects in the artwork that have been assigned various spot colors. Spot colors would correspond to premixed, color-matched inks on press, as opposed to CMYK values. Illustrator is alerting you to the fact that it cannot save a file with more than 27 different spot colors specified.
    There is probably a book to write on how amiss someone's workflow has gone, or how clueless they are about production, when they are sending their printer files with 20 or 30-some spot colors. And frankly, I suspect your own workflow is inherently a bit askew as well, as here you are trying to save a file with that many spot colors, although somehow it was saved before it got to you...apparently not in Illustrator. So I can only speculate that the artwork originated in some other application, perhaps arriving at your desk in PDF...(?)
    Resolve it? You're a long way from the true roots of the problem, but if all you need is to save the file without getting an argument from Illustrator, try this:
    Select all.
    Choose Edit > Edit Colors > Convert to CMYK
    Save.
    Disclaimer: the colors you print may not meet the expectations of the person who produced the artwork. Of course, it sounds like that could be the case with or without the conversion.

  • Changing to a spot color in a logo placed in an indesign document

    Creating a docement in ID where I have placed a logo created in AI. is it possible to make the logo color a spot color in ID?  I am using CS6 in creative clous on a PC running windows XP.

    Why not change it in Illustrator?
    Since you're using Creative Cloud you should be aware that the new
    applications will not install on Windows XP. The minimum configuration
    is Windows 7 SP1 or Windows 8.
    Bob

  • How to make preflight profile witch find out if exist in document spot color with name "CutContour", if not show allert,  I try many combinations but nothing works

    How to make preflight profile witch find out if exist in document spot color with name "CutContour", if not show allert,  I try many combinations but nothing works

    Thanks very much for your help, but I'm still overlooking something. I double checked to make sure that I did not have a hidden .txt file extention. I then decided to abandon the lock on preferences idea until I get it working. I converted my mozilla.cfg file back to plain text. I made sure I do not have an extra blank line at the end of each file. The syntax looks good, as far as I can tell. I'll copy and paste what I have so far. Did I have the file locations correct posted above? Also, if you feel i can delete some lines of text in my mozilla.cfg file I'll be happy to do so.
    mozilla.cfg
    <pre><nowiki>//
    pref("privacy.sanitize.sanitizeOnShutdown", true);
    pref("privacy.sanitize.promptOnSanitize", false);
    pref("browser.rights.override", true);
    pref(“app.update.auto”, false);
    pref(“extensions.blocklist.enabled”, false);
    pref(“extensions.shownselectionUI”, true);
    pref(“browser.shell.checkDefaultBrowser”, false);
    pref(“toolkit.telemetry.enabled”, false);
    pref(“toolkit.telemetry.prompted”, 2);
    pref(“toolkit.telemetry.rejected”, true);
    pref(“app.update.auto”, false);
    pref(“browser.download.useDownloadDir”, true);
    pref(“browser.search.update”, false);
    pref(“signon.autofillForms”, false);
    pref(“signon.rememberSignons”, false);
    pref(“browser.download.manager.scanWhenDone”, true);
    pref(“browser.formfill.enable”, false);
    pref(“xpinstall.enabled”, true);</nowiki></pre>
    channel-prefs.js
    pref("app.update.channel", "release");
    override.ini
    [XRE]
    EnableProfileMigrator=false
    all-lmc.js
    pref("general.config.filename", "mozilla.cfg");
    defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://bbc.co.uk");
    Again, thank you very much for your time. Do I create my own browserconfig.properties, and firefox.js? Also, I forgot to mention I'm running Windows 8.

  • How can I convert CMYK PDF file to Spot Color from a standard Spot Library?

    Hi,
    I have PDF file that is in CMYK colors. Can I use Adobe Pro X to convert the document to Spot Color from a established spot library like the PANTONE PC? Is there a plugin to do it?
    Amit.

    In method HMAC, you have towards the bottom
    catch(Exception e) {}please change this to
    catch(Exception e)
                e.printStackTrace();
            }Note that using the sun.* classes, including the sun.misc.BASE64Encoder class, requires elevated privileges (see http://forum.java.sun.com/thread.jspa?threadID=483223&messageID=2255882).
    It is not difficult to write your own encoder/decoder class, or borrow one from someone else. Just google on "java base64 encoder".

  • Convert to Gray scale issue in spot color file

    Hi,
    I am having some problem in Acrobat X Pro on Convert to Gray Scale Preflight Fixup, but the same PDF file is working good in Acrobat 9.0 Pro for the same process.
    Even I tried with the error report, but there was no error details in that report.
    Please help me out to find the reason for that problem. The PDF file is having a spot color.
    Please find the RGB and converted Gray image
    Thanks in advance,
    Veeramani.M

    Kumararaja,
    You can upload you file  using any public/private FTP and then can embedd the link here.
    Or when you click on Edit (in your message division), you get a browse option in the bottom left cornet. That allows upto 8.9MB. The way i attached!!!
    BTW, what's the issue?
    ~Sandeep V.

  • How to convert a PDF's Process Black to spot color

    We have been asked to build InDesign templates for a two-PMS-color math book. The design calls for two PMS colors: a dark blue for most text and red highlights.
    Because our Math plug-in doesn't work easily with PMS colors (it defaults to Process black), we hope to create all the “blue” text in Process Black. The press PDFs will have two inks: Process Black and PMS red. On press they will print the black plate in our blue PMS color.
    This plan works on press, but for non-press use, we also want the PDFs to visually match the blue and red printed book. Ideally we would convert the Black Process ink to a blue spot but I'm not sure if this can be done.
    Question 1: Does anyone know of a way to convert Process Black in a PDF to a spot color? Pitstop can convert spot to process, but we want the reverse.
    Question 2 (which I may also post in the InDesign forum) Do you know of a way to redefine (or alias?) the indesign black swatch so that it functions as a spot color?

    1 - yes, you can do this with Preflight in Acrobat Pro, but it's not on the default set of fixups.
    Open Preflight, select "Single fixups" - the wrench icon
    Options > Create New Preflight Fixup
    Give it a name (e.g. "process black to spot")
    Choose the Color category in the upper right
    Choose 'Convert to spot color' in the upper left
    Define the source parameters in the main panel (in your case, CMYK%, 0-0-0-100 with tolerance 0)
    Define the spot color to change this color into, and the alternative space for rendering (i.e. your blue color)
    If you wish, add a check to limit the conversion to certain things (e.g. text, vectors, etc.)
    Click OK to save the fixup, then click FIX to apply it. To verify the result, use the Output Preview dialog in Acrobat.

Maybe you are looking for

  • Error on startup QuickTime

    Error on startup QuickTime and iTunes: (Windows XP Pro SP2) EventType : BEX P1 : QuickTimePlayer.exe P2 : 7.4.1.14 P3 : 47a28143 P4 : QuickTimePlayer.exe P5 : 7.4.1.14 P6 : 47a28143 P7 : 0000130d P8 : c0000409 P9 : 00000000

  • XML PrintSelectedInvoices completes with warning when run as child request

    Hi Friends, I have converted the print selected invoices to xml and it runs fine when run by itself through SRS but it fails when it is submitted as a child request ( when it gets run as a child request when Invoice import and print program is run).

  • Could not complete the export command because of an application error

    Every once in awhile I get the error, "Could not complete the export command because of an application error" when using the Save for Web option. It's really confusing because the error is not consistent. I don't get it all the time. In fact, 99% of

  • Create Return Order copy from Billing created from DBM Order Processing

    Hi SAP Gurus I have scenario where the user requested to create return order based on Billing created from DBM Order Processing. I know that, we can create return order from DBM. but the function copy based on order. the user is requested to do retur

  • Update SQL Server 2008 R2 CLUSTER To SP1 With TFS 2010

    Hi, I have Cluster SQL Server 2008 R2 configured to store  Team Foundation Server 2010 DBs I want to Update this Cluster to SP1 to support Sharepoint DBs  So i want to see if this update can impact my TFS DBs  Thnx vote if you think useful