How to add a PANTONE color to docs?

Hi everyone
I got this script
var docs = app.documents;  
for (var i = docs.length-1; i >= 0; i--) {  
    try{
        docs[i].colors.item(“Body Text Color”).name;
        catch (myError){
                    docs[i].colors.add({name:”Body Text Color”, model:ColorModel.process,
                        colorValue:[20, 100, 80, 10]});
for add color to docs, but
how can change the value for PANTONE color?
Thanks
Regard
Teetan

Thank you Chinna
Thank so much
Teetan

Similar Messages

  • How to match the Pantone colors to the Cinema Display...

    Hi, I need to match the pantone colors to my cinema display, how to make it...could anyone help.
    Thanks!

    Thanks for your response--
    I looked at this adapter:
    http://www.mycableshop.com/sku/ADCHD1506.htm
    However, it says this:
    "The adapter cable allows any VGA monitors to be connected to the new dual-display G4 system with ADC video interface. The VGA monitor can be used as the primary display, or as a second display on G4 that supports dual-monitor support. Compatible with GeForce 4 MX, GeForce 4 Ti, Radeon 7500, and Radeon 9000 Pro."
    My graphics card is a ATI Rage 128 Pro. Will it not work, then?
    What is the possibility of adapting the Cinema Display from DVI to ADC?
    Thanks!

  • Hey guys, I am new to javascript and I am trying to figure out how to add two spot colors to the active document. I am trying to get it to detect weather or not the spot colors are already in the document, and if they are not, it will proceed to create th

    Here's what I have so far.
    var docRef = app.activeDocument;
    if (docRef.swatches.getByName ("CutContour") === 'undefined') {
    var spotNameCC = "CutContour";               
    var cmykColor = new CMYKColor();
    cmykColor.cyan = 0;
    cmykColor.magenta = 100;
    cmykColor.yellow = 0;
    cmykColor.black = 0;
    // Create Spot
    var spot = docRef.spots.add();
    spot.color = cmykColor;
    spot.colorType = ColorModel.SPOT;
    spot.name = spotNameCC;
    //var spotNameW = "WEED (r)";
    // Create CMYKColor
    /*var cmykColor2 = new CMYKColor();
    cmykColor2.cyan = 50;
    cmykColor2.magenta = 0;
    cmykColor2.yellow = 50;
    cmykColor2.black = 0;
    // Create Spot
    var spot2 = docRef.spots.add();
    spot2.color = cmykColor2;
    spot2.colorType = ColorModel.SPOT;
    spot2.name = spotNameW;
    Let me know what I did wrong lol I know it has to do with the detecting part. Also, if anyone knows any good websites to learn javascript I would be very thankful. I am not sure what a lot of the syntax means. Thanks!!

    Never mind I figured it out. Someone posted a similar question a few months ago on here, damn this forum is awesome wish I had known about it sooner. Sorry if I wasted anyone's time.

  • How to add a custom color background

    In iMovie 11 can you make a custom color background for text other than the stock backgrounds?
    If so how?

    imagine for a second a 'background' as a 'photo' or graphic:
    use any 'Paint'-app (Pixelmator, Photoshop/elements, abuse Keynote/iWork ... ), or download any .jpg you'd like to see as 'background' from the web.
    drag into Project, drag Title over it.

  • How to add a rectangle color frame for the video clips ?

    Hi there,
    I have shrink the 3 video clips small enough to fit all 3 of them into 1 screen.
    And now I want tomake a border rectangle color frame for these 3 video clips.
    Any tips on how I shall start ?
    Thanks & regards
    Cheers

    Ian R. Brown wrote:
    I have a feeling it can't be done because the border will probably go round the original full size video.
    A workaround would be to use the Custom generator to make a rectangle which you resize and put above the background.
    Then put your video you want framed on top of the lot and resize it so that a bit of the coloured Custom generator is showing all the way round.
    It's gonna be fiddly but simple enough in theory!
    Thanks Ian, that was a good idea.
    But my cropped video clip is a video clip being color-keyed (ie my video clip has alpha channel & the background is transparent). So putting a colour image behind the clip does not work because it will be seen through the alpha channel.
    Any tips ?
    Thanks

  • How to add Line items to Accounting Doc

    Hi All,
    I want to capture the amount of inventory to a separate GL accounts while doing GR.
    Accounting Document should look like this:-
    Inventory a/c 1000 BSX
    GR/IR a/c           1000- WRX
    1New line a/c  1000
    2New line a/c    1000-
    How can we achieve this.
    Thanks.

    U can make use of purchase account and purchase offset account . In obyc assign the account to purchase account EIN and puchase offset account EKG.

  • How to add infopath data to word doc

    hi
     I create a form in infopath. I want to combine the information in this form, in strategic places in a Word document. My intention is similar to a mail merge but from infopath software. In Mail Merge I create a lot of files at once. Here I want the
    end user fills out the form and receive a letter. All details already filled in the right places.
    In software info path field can be set to be equal to other fields, but there is no option like in Word design. And that makes it as a link and not as part of the text.
    Would appreciate help
    Thanks in advance
    David

    Hi,
    Please check if this thread helps:
    https://social.msdn.microsoft.com/Forums/en-US/9e2ab81d-dd9e-454c-8347-62484eaa7546/can-i-insert-an-infopath-form-into-a-ms-word-document?forum=sharepointcustomizationlegacy
    1. Use a Document Information Panel (DIP). With this you can use field controls in Word and bind them to fields in the DIP (InfoPath form). See
    http://blogs.msdn.com/infopath/archive/2006/11/06/data-binding-between-document-information-panel-and-word-document.aspx for an example on how this is done.
    2. Use VSTO to host an InfoPath form control (see
    http://msdn2.microsoft.com/en-us/library/microsoft.office.infopath.formcontrol(vs.80).aspx) in a task pane in your Word document.
    For InfoPath related issue, you can also post in the following forum to get more assistance:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/home?forum=sharepointcustomizationprevious
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Pantone Color Chart

    How do I add the Pantone color cjart to Adobe Photoshop 10?

    I am not aware that you can add the Pantone chart directly in Elements. However, that chart does provide conversion numbers which can be entered in the color picker.
    http://www.wilcorgraphics.com/ColorCharts1/Index.htm

  • Indesign CS4 Pantone color book, Solid Coated giving the wrong color

    I am trying to add a Panton color to my swatches panel. Under Swatches I am selecting "New Color Swatch -> Color Type: Spot ->Color Mode: Solid Coated". What happens next is get a box where I can type the Pantone number I would like ... to the left of this box it reads "Pantone DS". So all of the color choices I might make are not for "Solid Coated" but rather for "DS". I have no idea what "DS" is and it is not what I selected. I selected "Solid Coated". Once again, I am using Indesign CS4 on a Mac Pro ... still running OS 10.4. Can someone please assist me?
    Thank you in advance.

    Thank you for your response. I have checked the pulldown menu several times. I have checked again as of reading your response. It seems that no matter what Pantone choice I select under the Color mode I get your second window that you posted. On top of that, I have captured the window that comes up when I initially start the add new color swatch .... it looks like this ....
    Please notice that the Pantone DS is already beside where you would key in the Pantone number, even though the color mode I am in is CMYK. This does not change when I switch to Spot as shown below.
    So I do not believe there is something flawed about my method. It seems as if the Pantone Color Book information is missing for everything else other than the Process Coated.

  • Pantone color(s) information for web use

    How to embed the Pantone color(s) information in a Logo PDF? I have tried to upload a logo pdf, however the Pantone colors information could not be recognized on the web platform. Is it possible to embed the color information for web use?

    Here was the javascript error message:

  • Mixing Pantone Colors - Just like CMYK channels???

    Hey Everyone,
    I just signed up to the forum and had a look around. Hello everyone and I'm glad forums like this are around!
    So, my question is hopefully one that is possible. I've looked elsewhere but can't find any difinitive answer or perhaps I haven't worded the question right but here it goes...
    What I'd like to do [in photoshop] is treat 4 pantone colors just like CMYK channels. What I mean by that is that I would like to replace Cyan, Magenta, Yellow and Black with my own colors [pantone colors] and have them mix and act exactly like those channels. As in, when I open a full color image, and my pantone [or any color] channels or color profile is active, the full color image will react to those colors [with the blending of the colors].
    Instead of 45% Cyan, 55% Magenta, 83% Yellow, and 2% Black in a given spot, it would be a mix of the 4 chosen colors [example: 45% pantone A, 55% Pantone B, 83% Pantone C, 2% Pantone D].
    or to put it another way, if I were to color the background in, say, a blue, I would be able to use the "Info" panel to see how much of each pantone color was mixed to create that color. Obviously there would be a limit to the colors I could create based on the pantone colors I select.
    I don't want to do anything printing wise with this technique. I am looking at it solely as an onscreen viewer or perhaps use it in some manner for screen printing.
    Anybody have any ideas on how to achieve this?
    Many thanks in advance.

    Beyond setting up a multichannel document there is no magic. And it is still merely an approximation because some colors can neither be simulated on-screen nor actually printed that way. That ultimately is the whole point - PS can't simulate anything that is impossibole in the "real world" and expressed as a color profile. Anyway, I have the feeling that you have a wrong understanding what spot colors actually are/ are meant for. They simply won't respond like the basic CMYK channels because their actual inks don't behave that way. Your ink percentages will never represent anything equivalent to a mathematical mixing formula as when using RGB or CMYK, instead they are the inks color multiplied by the opacity. In case of an on-screen simulation/ proof they would not even necessarily include effects that happen due to spectral absorption when light travels through the inks or the inks mixing chemically/ physically at the pigment level. It really doesn't exactly make sense for what you have possibly in mind due to the aforementioned specifics and limitations of the simulation. One could even go so far as to craft everything in red on screen and then swap the color for green during the printing process, assuming only 100% opacities are used. That is to say spot colors are often more considered like masks that constrain the actual ink to certian areas and when you think of it that way, you may begin to understand how and why your grand plan may fall apart. Of course we don't know what your artwork looks like, so it may work, after all, but I realyl think you are heading in the wrong direction, dreaming up something that doesn't exist.
    Mylenium

  • How do I use the color picker in Photoshop CC it will not pull in my swatches and how do I change swatches to another pallet from pantone?

    How do I make the color picker work in Photoshop CC? It will not pull in my new swatch colors it just uses old pantone swatches?

  • How do I add a background color to a document in Pages?

    How do I add a background color to a document in Pages?  I have made an invitation, with a photo in it, the text is in color, and I want to make the background pink instead of white.  thanks

    whoops sorry figured it out thanks!

  • How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text?

    How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text? Please help! I'm technologically challenged.

    Most forms (99% or more) are created for simple text input, where you cannot change anything.
    The creator of the form could allow Rich Text input (which allows you to change font, text size, color, etc.), but frankly I have never seen such a form, and I wouldn't know how they look.  But I'm sure they would show some kind of controls to alter the text appearance.

  • How to identify the text color in a word doc.?

    how to identify the text color in a word doc.?
    I need to read a word document using java code. which contains many strings with different colors.
    i need to identify the color and giving the marks accordingly like
    test in blue color so
    test marks=2
    how can i do this using java. i only want to know how can i identify the text color using java code.?

    morgalr wrote:
    I guarantee it is not pretty.Indeed.
    I created a Word doc that simply has the word "Blue" in blue, then a space, then the word "Red" in red, all in the default font that Word started with (Times New Roman). The resulting document is 24,064 bytes. It starts off with 80 bytes of various hex values, mostly 0x00.Then 432 bytes of just 0xFF. Then 2048 bytes of various hex values, mostly 0x00. Then the text "Blue Red" (which appears twice more in the file). And so on...
    Edited by: jverd on May 10, 2010 8:45 AM

Maybe you are looking for

  • Retrieving data from a remote DB using ODBC ?

    Hi, Has anybody tried to collect some data from a remote DB in InDesign plugin by using ODBC ? I want to know the basic steps including what I have to add in the Xcode project, how to connect to remote DB, and how to retrieve data in plugin by sql qu

  • Tax reversal

    Dear friends, When we cancel the material document , Part 1 enteries will reverse automaticaly, How to reveres the VAT and other taxes captured

  • Can I print or export the MediaSource Libr

    I have a ton of duplicate entries and I don't want dups on my Zen Touch. Is there anyway to get a listing of the library?

  • Switch Process view to instance overview (end to end monitoring)?

    In my end to end monitoring, by defaut I can see the process Overview objects. If I want to switch to the instance view , the system doesn´t allow me to  perform such this action. Some authorizations are needed ? Do I have to configure something ? Th

  • Error in BPELProcess1.bpel(137): !!BPELC_PA__OMIT!Choice Pattern incorrect

    Using Oracle 11g JDeveloper 11.1.1.5.0 error: in BPELProcess1.bpel(137): !!BPELC_PA__OMIT! [0=java.lang.IllegalArgumentException: Choice Pattern incorrect,1=null,2={2},3={3},4={4},5={5}] Thanks in advance.