Illustrator Scripting :: Adding Custom Spot Colors

Dec 2, 2013

I am trying to create a script that adds custom spot colours to the swatch pallet. I've manage to put together something that works (I've adapted an existing script), but the colours added are not spots, just CMYK colour swatches.Also, I need the script not to error if the swatch already exists.
 
//Add Custom Swatches
var docRef = app.activeDocument;
function cmykColor(c, m, y, k) {
     var newCMYK = new CMYKColor();
     newCMYK.cyan = c;
     newCMYK.magenta = m;
     newCMYK.yellow = y;
     newCMYK.black = k;
     return newCMYK;
[code]....

View 2 Replies


ADVERTISEMENT

Illustrator Scripting :: Color Value Of Spot Colors Cannot Be Adjusted Via JavaScript?

Jul 17, 2012

color value of spot colors cannot be adjusted via javascript?

View 5 Replies View Related

Illustrator Scripting :: Getting Used Spot Colors In Color Legend On MAC JS Or Applescript

Mar 23, 2012

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. 

View 9 Replies View Related

Illustrator Scripting :: Adding Spot Color Using JavaScript - TRY CATCH Not Working

Mar 6, 2014

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();
 
[Code] .......

View 1 Replies View Related

Illustrator :: Do Custom Spot Colors Print Properly For Press

May 24, 2013

While creating the company logo and branding in Illustrator, I've taken the CMYK values of our color palette and created custom CMYK spot swatches for each of our brand colors. This was for consistency, because a spot's color numbers do not shift as you move between Adobe apps or from CMYK to RGB docs.
 
My question is — is it OK to hand off a document that contains these CMYK spots to a printer for 4-color offset or digital printing? Will it mess with the colors or will they simply igore the "spot" status of the color and use the CMYK values behind it?

View 8 Replies View Related

Illustrator Scripting :: Adding Lab Colors To Swatch - Not Implemented

Jan 14, 2013

I tried to add a LabColor with an Illustrator script.
 
function addLabColorToSwatch(L,a,b,swatchName){
var color = new LabColor();
color.l = L;
color.a = a;
color.b = b;
 var swatchgroup = app.activeDocument.swatchGroups.add();
swatchgroup.name = "test swatchgroup from jsx script";
[code]....
 
The script crashes on the Line  'swatch.color = color;' with "Error 1202: Not implemented"..This seems to a bug. I allready filed it.

View 5 Replies View Related

CorelDRAW X5 :: Adding Custom Spot Color In Pallet?

Jul 28, 2011

Adding the PerfCutContour color swatch in CorelDRAW? Having trouble adding it, I keep getting an error saying that color already exist in the pallet....when it is not in the pallet.

Using VersaWorks and CorelDRAW X5

View 2 Replies View Related

Illustrator :: Find Closest Pantone Spot Colors For CMYK Colors?

Mar 21, 2013

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.

View 4 Replies View Related

Illustrator :: How To Get Spot Colors

Mar 8, 2014

Spot colors such as Pantone colors didn't download with Adobe Illustrator. I have them in Photoshop. How do I get them in Illustrator?

View 2 Replies View Related

Illustrator Scripting :: How To Find Out 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 method by which I can find out which color type(spot or process) is applied to the selected art item?

View 4 Replies View Related

Illustrator Scripting :: Move A Spot Color To A Layer?

Oct 10, 2013

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).
}
}

View 5 Replies View Related

AutoCAD Inventor :: 2013 Appearances - Adding New Colors In Custom Library

Jan 8, 2013

First, I have not grasped the extent yet of how the new appearance library works.. we don't get crazy with colors, reflections etc.. but we do have a handful of colors that we use on the machines we use.. so instead of using the default appearance library, i made a new appearance library.  All this went well, but i periodically as i need them will add colors to it.. problem is that i'm obviously doing something wrong, because my colors don't always stay in there after i restart Inventor.. and yesterday, i can't seem to keep any of the colors i setup in there to stay.. all i want to do is copy specific colors from inventors appearance library.. drag them into mine, rename them, maybe tweak the color, and then they be there for next time.. why won't they stay?  

The edit pencil will come up on my library.. i've done the release edit after i'm done.. everything works in this inventor session, but if i turn inventor off and back on again.. they are gone.. only thing i have thought of remaining is that 3 users on our network share the same design styles location so we all our using same stuff, so is the file inventor uses in design styles to save to read only or something, but i read that appearances aren't saved in design styles.. How to do this and the colors stay and populate through all the existing stuff.. I have got the colors to lock into my template ipt in the doc appearances.. and i've done the save to custom library thing.. works until i restart inventor..

View 6 Replies View Related

Illustrator :: How To Remove Spot Colors

Oct 9, 2012

I'm still working on changing a document I didn't create. It needs to be CMYK, but I keep getting error messages when I save it that there is a spot color. I saw one spot color in the Swatches (at least I seem to remember that's what the little dot in the corner means) and I double clicked it and changed it to CMYK. And I selected the one item that seems to have that color and I changed it to the CMYK version. But the swatch still has the corner dot and I still get the error message when I save.

View 2 Replies View Related

Illustrator :: Managing Spot Colors In CS6

Oct 11, 2012

I created two PDF's from identical files in Illustrator CS6 using spot colors but the colors came out different when printed although I couldn't find any apparent differences in the settings of the two documents.
 
I also noticed that when importing an eps file that contains spot colors in Indesign CS6, and export as PDF the colors in the PDF are sensibly different to the eps. It never happened with CS4.

View 9 Replies View Related

Illustrator :: How To Trap Spot Colors

Jan 5, 2013

I have a doc that contains alot of logos from auto manufactureres. I am having it printed professionally and when I save the doc as a pdf my summarry has the warning telling me I have spot colors and that it does not match color profile. How can I QUICLY find the spot colors and do I need to trap these colors? Working in printing and proofing workspace.

View 2 Replies View Related

Illustrator :: Spot Colors On Colored Paper?

Nov 8, 2013

I'm printing some spot colors on colored paper, and wondering if there is a way in illustrator (CS6) to approximate the ink/paper interactions. Im worried about the ink color (greens) shifting to brown on a yellow/peach paper.  I've approximated the paper color in Illustrator, and designated the pantone colors. I tried Multply- and the ink color definitely shifts to what I think it would- but not sure if that is the best way.

View 8 Replies View Related

Illustrator :: Change Spot Colors To Process?

Sep 3, 2013

I've been told that I need to change my spot colors (illustrator CS6) to Process colors, but for some reason, sometimes this feature won't work and is greyed out.

View 2 Replies View Related

Illustrator :: Support Maximum Of 27 Spot Colors?

Nov 20, 2013

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.

View 2 Replies View Related

Illustrator :: Action To Batch Spot To Process Colors

Jan 10, 2013

I'm a print designer. I have this Action I use to batch Illustrator files convert all spot colors to process. The problem I found recently in some instances where an object is black & white bitmap the Action converts to CMYK and that causes an issue for product representation because it does change drastically. I process a lot this files daily basis. As far as I know I don't think using an Action will prevent this from happening because it does work but I just want to confirm that in this forum. I can Insert a Stop in the Action to see what kind of image has been embeded but that defeat the purpose of running a batch.
 
here are the stepson the Action:
Unlock all
Select all
Convert to CMYK (Using Edit colrs)
deselect 

See attached jpg (before & after)

View 12 Replies View Related

Illustrator Scripting :: Can Tint Be Adjusted For Items On Page That Have Spot Color Applied

Sep 27, 2012

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?

View 8 Replies View Related

Illustrator :: Can't Convert Spot Colors To CMYK In Swatches Panel

Sep 17, 2013

I'm having an issue where I can't convert spot colors to CMYK in the swatches panel. Currently to fix I have to copy elements using the spot colors in to a new blank document, then convert them, then paste back into the original document.
 
Also if I try to delete the spot color, it doesn't fully delete the swatch.
 
I'm using Illustrator CC 17.0.0
 
I've attached a video [URL] ......

View 3 Replies View Related

Illustrator :: Placed Graphics Image Area Changes Spot Colors They Overlap?

Jul 16, 2013

Surprisingly i can't find any mention of this anywhere on the intertubes - very often I have a placed (photoshop/tiff) graphic with transparent background overlaying (on top of) a spot color area, the spot color prints out completely different from how it should be (and how it is on non-overlapped areas).
 
I've tried everything i can think of, including making an opacity mask to 'hide' the supposedly transpararent areas of the placed grahic. I know a clipping path might work, but some art is too complex for that.

View 5 Replies View Related

Illustrator Scripting :: Adding Graphic Styles Using VBA?

Apr 7, 2012

How would I go about applying graphic styles to a path using VBA? I would imagine the following line is wrong because it doesn't work.

idoc.GraphicStyles("02-S").ApplyTo (isquare2)

View 5 Replies View Related

Illustrator Scripting :: Adding A Number To A Variable

Feb 3, 2014

I am trying to add a number to a variable.  var n=y+36...So I am creating a new variable (n) whose vaule is 36 points more than the variable "y".

View 5 Replies View Related

Illustrator Scripting :: Assign Default Colors To New Layer?

Aug 7, 2013

Is there a way to assign one of the default layer colors with javascript? like light blue, light red, or green.

View 3 Replies View Related

Illustrator Scripting :: How To Change Colors Of Path Item

Nov 26, 2013

I'm trying to change the colors of a pathItem corresponding to the string value of several text fields in my document. I've been successful in changing the fill and stroke color of the pathItem, but I can not find any reference in the Illustrator Javascript Guide for accessing additional strokes and/or fills that have been applied to the object in the Appearance panel.

View 1 Replies View Related

Illustrator Scripting :: Changing Colors Multiple Files?

Feb 6, 2014

I have about 300+ product labels that are in Illustrator, and some of them have an incorrect rich black color swatch. What I have been doing is going through and changing the color pallette to change them manually. Essentially going to the instance of black and changing them to regular black.
 
Is there any sort of script that can do this? The files are in CMYK.
 
Otherwise I have a lot of monotonous file editing to do.

View 4 Replies View Related

Illustrator Scripting :: How To Generate Overview Of Colors Used In Document

Sep 2, 2013

I need to generate an overview of the colors used in a document.
 
For that, I would like to cycle through several rectangles of which I know the exact size. The rectangles are filled with a color  from the swatch palette.
 
What I try to achieve is that the swatch name of the rectangle's fill color is written to a text field directly above the rectangle. But I could not find a possibility to 'extract' the fillcolor from a pageItem into a pastable string.

Is there a way to do this with Illustrator and Javascript?

View 1 Replies View Related

Illustrator Scripting :: Change Layer Colors Within Layers Palette In CS5?

Apr 3, 2012

For example I would like to make my images layer Green and my copy layer Red in my layers palette.

View 6 Replies View Related

Illustrator Scripting :: Automatically Create Fill Colors Combination

Nov 11, 2012

I need to automatically create all the possible pattern combinations with 6 shapes and 6 colors.
  
I have an Excell file with assigned color combinations (values from 1 to 6) in the rows, and the shape name (A to F) in the columns.  Column 7 is a string containin the color combination names (i.d. 123456, 123345 etc...) so that I can output each combination with the color/numbers in the name.
  
I'd like Illustrator to pick every row and assign the contained colors to each shape of the column and to export a .png with the name from column 7 content.
  
Just simple as that!  But to me it sounds pretty hard! 
  
Is there a script that makes it already posted somewhere? - i couldn't find any -  or something simliar to start coding from?

View 8 Replies View Related

Illustrator Scripting :: Adding New Line And Spaces In Between Text In AI Script

Apr 2, 2012

areaText.contents = "This is an Area Text in a rectangle. See how it flows to the next line.";
 
/*
i want to break the sentance from 'Text' ie i want to add new line in between and also some more spaces.
*/
 
For example: I want to write the above text like this way

this is an Area. Text in a rectangle. See how it flows to the next line.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved