Color settings in InDesign CS5 js

Hi, one of the scripts loads color setting file before exporting pdf to the InDesign, but every time I go into Color Settings window it gives me this error message: "Some parameters in the color setting file could not be used. Default values will be used instead" and then my settings are not there. How could I fix it.
Thank you for your help.
Yulia

It loads color setting file:
function loadCM (){
var myFileNameNew = myJobNumber.slice (0,2);
var mySplitPathForSeries = myRootPath.indexOf (myFileNameNew);
var myPath = myRootPath.slice (0,mySplitPathForSeries)
var myFinalPath = myPath + "/~prepress/colorSettings/NDF_CmSetting_indd.csf";
var myFile = new File (myFinalPath);
app.colorSettings.enableColorManagement = true;
app.colorSettings.cmsSettingsPath = myFile;
Thank you.

Similar Messages

  • How to inforce specific color settings in InDesign CS4 js

    Hi, I need to set specific color settings when creating a pdf from InDesign in Java script (not as a preset). What I found in previous discutions is:
    #target InDesign
    app.ColorSettings.cmsSettings="MyColorSettings";
    ( in the Forum
    http://forums.adobe.com/message/1108248#1108248),
    which just somewhat make sence to me.
    I saved my MyColorSettings.csf file in color settings folder, but I am not sure how to tell the script to access it, and I am not sure that that's the only
    reason why the lines abouve don't work.
    Thank you for your help.
    Yulia

    Yulia, everything wrong in your script: first of all, setting cmsSettings and cmsSettingsPath at the same time makes no sense — this is the same as choosing a setting in Color Settings dialog and then clicking the Load button and selecting another setting — the second cancels the first. So, you need to set only cmsSettingsPath property. If you take a look at this property in OMV, you'll see that it requires File not String, as you are trying to set.
    I would use the following code:
    var myPath = "/Volumes/SPACE/Prepress/Export settings/InDesign CS4/ShowPDFoptions_CS4.jsx";
    var myFile = new File (myPath);
    if (myFile.exists) {
        app.colorSettings.cmsSettingsPath = myFile;
    else {
        alert("File \""+ myPath + "\" can't be found.");
    You don't mention if you use Mac OS or Windows, or both at your work.
    On Mac volume name should be prepended with "/Volumes":
    /Volumes/Remote/dir/file
    On Windows, to access a remote volume, use a uniform naming convention path name of the form
    //servername/sharename.
    Or, if you have a mapped network drive:
    /Z/foldername/foldername/filename
    Where Z is a letter corresponding to your drive.
    To find out the path to a file, you can also use the following script:
    myFilePath = File.openDialog("Locate the file");
    $.writeln(decodeURI (myFilePath));
    It writes the path of the chosen file to console
    Kasyan

  • Edit Color settings (Bridge/InDesign)

    Hi all, today in office we have a discussion about Edit > Color settings (we use this setting from Bridge for syncro).
    The question is: if i change Color settings (es. i change the rgb or cmyk working space) from InDesign i change only the swatches color? Is this correct? Because the graphic imported can (or not) maintain their color profile. What is wrong?
    Many thanks!

    Edit > Color settings (we use this setting from Bridge for syncro).
    Color Settings is an application preference—you are setting the color preferences for new documents. So changing the Working Spaces in Color Settings will only affect existing documents if they have no color profile assigned (i.e., the Color Management Policies were set to Off when the document was created). If you want to change a document's profile you have to do it via Edit > Assign or Convert to Profile...
    1) if i draw a frame filled cyan swatch, this color have the profile color that i set in the color settings?
    All native colors are assigned the document's profile (see Edit > Assign profiles...). The assigned profile isn't necessarily the same as the current Color Setting's working space
    2) if i import graphic with or without icc profile the assignment will be only when i export pdf, is it correct?
    If an imported CMYK graphic has no profile embedded, or the document's CMYK policy is Off or Preserve Numbers (Ignore Linked Profiles), it will be assigned the document's profile.
    When you export a PDF, the Output settings tab determines whether colors will be converted or profiles will be included.

  • Exporting to idml - idml settings - Adobe InDesign CS5

    Hi all,
    I have a problem with exporting a file to idml.
    I created an Adobe InDesign Template file (a white paper in this case) and put some text in this template. When I want a new white paper I copy the the new text in, thus replacing the original text in the templete. So far so good.
    But when I export this new indesign file to .idml for translation purpose, this idml file still contains the original text from the InDesign template I created originally.That's very annoying for all the translators, since they will be translating the same text over and over again.
    The 3rd party software we're using to read and translate the .idml-file is Deja-vu http://www.atril.com/
    How to get rid of this 'legacy text' in the idml-file?
    And how do I change settings for the idml file?
    Hope you can help. Adobe Telephone support couldn't help me with this.
    Kind regards,
    Joost

    The text is not in the master page, but in a separate text layer as a general text field.
    I just open the text field, select the old text, and paste without formatting from word into the text field.
    Hope this helps.
    I analysed the idml-file with Oxygen XML editor, it shows the following:
    <Change Date="2011-08-11T13:13:29" ChangeType="DeletedText" UserName="$ID/Unknown User Name" AppliedDocumentUser="dDocumentUser0">
    It contains the stories that were removed from the InDesign file, but not really removed...
    Message was edited by: joostknuit

  • Conflict with color settings

    Hello,
    I'm using Creative Cloud and all my programs have synchronized colors. My problem is with InDesign. Colors do not look the same there. Everytime I go to color settings, the program shows this error:
    "Some parameters in the color settings file could not be used. Default values will be used instead."
    And InDesign changes color to default values. I can select my custom color space but I don't know if it is really working, because every time I go to Edit> color settings... I get the same error. I have to manually change my color settings every time I launch InDesing.
    My custom color settings (initially set on Photoshop and synchronized using Bridge. I'm copying them from InDesign) are:
    Working Spaces
    RGB: Adobe RGB (1998)
    CMYK: U.S. Web Coated (Swop) v2
    Color Management Policies
    RGB: Preserve Embedded Profiles
    CMYK: Preserve Numbers (Ignore Linked Profiles)
    (Nothing selected on "Profile Mismathes" and "Mising profiles")
    Conversion Options:
    Engine: Adobe (ACE)
    Intent: Perceptual
    ("Use Black Point Compensation" is selected).
    InDesing is the only program in the suite that can not synchronize with this settings.
    I'm using Windows 7, 64 bit. All my Adobe programs are up to date. In design version is 8.0. This problem happens with any other custom workspace created, no matter what options are selected.
    Thanks in advanced for any comments or help with this matter,
    Alí Marín

    Rob Day wrote:
    Have you tried reinstalling InDesign? It sounds like something's wrong with your color profiles.
    That's the only thing I haven´t tried, but I will and post about it.
    I found a workaround though: If I set my desired color settings in InDesign, but don´t save them, then it works; I no longer get the error message if I go to Edit> Color Settings...
    The color settings dialog box says that my Creative Cloud applications are unsynchronized, because I´m not using the .csf file previously synchronized using Bridge, but the settings are exactly the same and I can get around it. Colors actually work as they should.
    So this seems to be a problem with InDesign accessing any saved color settings file. My color profiles aren´t wrong, because all other programs in the Suite use them with no trouble.
    InDesign just wants to have it's own, non saved, color settings. How about that? Guess I got the selfish version .

  • I cannot get photos placed in InDesign CS5 to show up only as grayscale/black. When a separation is done, part of the photos show up on both parts of the color separation. I've been hunting for a solution for hours.

    I cannot get photos placed in InDesign CS5 to show up only as grayscale/black. When a separation is done, part of the photos show up on both parts of the color separation. I've been hunting for a solution for hours. !

    ALSO, on the iPod under Settings>General>iTunes Sync, you may need to back out of the "iTunes Wi-fi Sync," and reopen it to get it to update.
    (I use iTunes 11.1.5.5)

  • Trouble Sampling Colors with Eyedropper Tool: InDesign CS5

    Hey everyone,
    My name is Quin, and I've used InDesign CS5 for the past few years and am working on a magazine layout for the first time. I'm suddenly having a really difficult time getting the eye-dropper tool to extract color samples from images i've placed in my layout. These are either jpeg or PDF images. If I recall correctly, in my past use of the program, i could simply click the eyedropper tool in an image and get my color sample – but suddenly, i'm having trouble getting it to sample color/make a color swatch.
    I tried double clicking the tool and excluding everything i wouldn't want it to sample. Tried locking/unlocking layers, tried making sure the image frame itself is selected, tried holding down option, tried trashing the preferences (using a 2012 MacBook Air with the latest version of OS X Mountain Lion)… most of the time when i attempt to sample a color, nothing shows up in the fill box, except the classic diaognal red line over white.
    The exception is when i use the eyedropper to sample non-image base things i've already filled, like a retangle, it picks up the color fine. So it's likely image specific. Is there something really obvious that i'm missing? It's frustrating because i simply want to sample colors to get a rough idea for text colors and headlines that can match images, and there doesn't seem to be a quick way to do this…
    Thanks so much for the help!
    -Quin

    Quin, I just had a eureka moment! I was having the exact same problem,  unable to sample color from images with the eyedropper tool, and when I sampled text to apply formatting, it strangely applied a black rule around the new text. The problem was intermittent, with the tool both working  and not working within the same document. I finally realized the tool was  misbehaving when sampling an item on the document, but worked fine when sampling images or text on the pasteboard.
    So, the document I'm working on is an ad with a 1pt rule around the border. I have the border on it's own layer at the top level, and locked, so I can select items on the ad without the border getting in the way. What I found is, even though it's locked, the eyedropper tool is sampling the border from that layer!
    I tried turning off  stroke  settings in the eyedropper options just gave my text a fill of 'none.' Turning off both stroke and fill settings had no effect on the new text at all. I tried unlocking the layer and just locking the border on it's own, but it still picked up the formatting from the border.
    The only thing that worked is to hide the layer! Turn off the layer 'eyeball' and see if that works for you.

  • Indesign CS5 Color Management Policies

    Hello All,
    I have just been having a look at Indesign CS5 Color Management Policies...
    Can anyone clarify the following for me?
    From my testing it looks like
    1.) When placing an image into an indesign page the embedded icc profile is ignored and the "document profile" is used unless it is manually selected by the user in either (show import options) or (object > Image color Settings). This is despite the fact that the color settings are set to preserve embedded profiles.
    2.) When placing an image into an indesign page greyscale profiles are also ignored and and all mono images are simply lumped into a "greyscale" colour space with no way to assign a particular profile or keep an embedded profile etc. This is despite the fact that the color settings are set to preserve embedded profiles.
    3.) When placing an image into an indesign page there is also no way to manage the color of illustrator files. Embedded profiles are ignored in ai files. This is despite the fact that the color settings are set to preserve embedded profiles.
    looks like a bug to me...
    I am currently running indesign 7.0 on Mac OS 10.6.7

    can you point me to any information on what is managed by the documents policy and what is managed by the application's policy?
    Also, any idea what the reasoning behind having a document policy is? why not just let the application policy determine how to interpret everything?
    Color Settings is a preference—there's no setting that would work for any condition (that includes Emulate Adobe Indesign 2.0 CMS Off).
    The Color Management Policies setting is your global preference for how newly created documents will handle document and link profiles. Having the policy preference set at creation prevents unexpected profile changes as a document is passed from one user to another. The Ask When Opening check boxes give you the option to change existing document policies, which I described in post 7.
    The policies let you control if existing CMYK color is allowed to be converted to a different CMYK space or not.
    If the CMYK policy is set to Off then the newly created doc is not assigned a CMYK profile and all link profiles are ignored. In this case the document colors and the links are all color managed by the current Color Settings CMYK Working Space. The preview of all CMYK color in the document will change depending on current working space, but the output numbers will not.
    Preserve Numbers (Ignore Linked Profiles) assigns the current CMYK Working Space to the new document and any placed links have their profiles ignored—the document profile is used instead. In this case the preview of all CMYK color (including links) comes from the assigned document profile, which travels with the document. After creation changing the Color Settings CMYK Working Space has no effect on the doc, its assigned profile is always used.
    Preserve Embedded Profiles assigns the current CMYK working space to the new document and any placed links have their profiles honored. In this case the assigned doc profile drives the preview of the document color and links with out profiles, while links with embedded profiles are previewed via their profile. If the link's profile conflicts with the document profile, it will be converted to new CMYK numbers on export or print.
    If the policy is Convert to Working Space the document colors are converted to the current CMYK Working Space and that profile is assigned to the document every time the document is opened when the working space conflicts with the assignment. Links are not converted but their profiles are honored.
    Also would changing my color settings to "Emulate Adobe Indesign 2.0 CMS off" be considered to be a change of "application policy" or would this also effect my "document policy"?
    There's never a good reason to use this setting. It would be the same as a CMYK and RGB Off policy except the Working Space profiles are some unknown—you don't have the option of choosing them.

  • CS5 Color Settings Unsynchronised. How do I get them in synch?

    My CS5 Photoshop window for Color Settings states: Unsynchronised. Your Creative Suite applications are not synchronised for consistent color.
    Question: How do I get then synched?
    Chrissto@

    Don't bother, just dismiss that dialog. All "synchronizing" means is that the same preset is applied to each application's color settings. You can do that manually.
    But there's no particular reason to have identical color settings in all applications. Requirements will likely be different and my color settings are deliberately unsynchronized (I wouldn't dream of using ProPhoto RGB in Illustrator or InDesign, just as I'd never have CMYK policies set to "preserve numbers" in Photoshop).

  • Acrobat 9.4.4 won't sync with CS5 color settings

    The color settings in Acrobat used to sync with the rest of the Creative Suite (via Bridge), but now it doesn't. I'm not seeing any way to make it happen either. It appears to be a bug or defect in the product. Can anyone confirm or resolve this?

    Hi, Steve. Yes, I do switch settings with some regularity. I have custom settings for a newspaper that runs ads for one of my largest clients. (The default newspaper setting is not good enough, especially for grayscale.) I use the North American Web/Internet settings for preparing web graphics. And I use the North American Prepress 2 settings for everything else. Even when Acrobat would sync with the rest of the suite, it was grudging. It would take several seconds or longer. Sometimes longer than I could wait. The question that really is left begging is why Acrobat has so much trouble with something that InDesign, Photoshop, and Illustrator do routinely.

  • InDesign CC always resets desktop color settings on new start

    This is very annoying: InDesign CC still is not able to save the color settings I choose for the desktop (palettes, workspace background). Everytime I restart InDesign I have to manually set these things again. Since CC came out, I have been hoping that one of the updates would finally fix this.
    I am using a multi-monitor workspace, InDesign CC (9.1. ) on a mac pro. I had the problem under OSX 10.8.X and now still under OSX 10.9.1.

    I am having the same problem. The workspace will not save. Every time I open the program, it has reverted to some other configuration. Very frustrating.
    I am using a single monitor workspace, InDesign CC (9.2) on a Windows 7 64-bit machine.

  • Are color settings stored within indesign documents

    Good day!
    I might have done a more thorough search, but as we use Indesign in a non-english version I may have problems there anyway, so if the issue has been addressed previously could someone please point me to a pertinent thread?
    Anyway, our problem is this:
    A customer provided indd-files and we populated it with rgb-images of various spaces (ECI RGB v2, which is our RGB working space, and Adobe RGB) and exported x-1a pdfs.
    Those pdfs showed erroneous separation for the Adobe RGB-files.
    Our Color Settings are set to Preserve Embedded Profiles for RGB-mismatches.
    But newly imported RGB-files seem to always get set to Document Space in those documents.
    So the indd-files seem to maintain the Color Management Policies of the application as of the time of its creation and disregard the current settings.
    Can this be remedied for those files?
    Thanks in advance for any feedback.

    Thanks a lot.
    Exporting an idml did not do the trick for me.
    »if you enable the mismatch warnings (and I think you should), you are prompted and given the opportunity to overide the embedded policy.«
    I usually have those turned off to be able to have the programm open multiple files of different spaces un-attended.
    But your recommendation is appreciated and indeed seems to be the (only) way to go here.
    And embarassingly I had forgot to mention in the original post: Indesign 7.0.4, OSX 10.6.7

  • Indesign Color Settings Reverting to default

    Hi, in search of some help in regards to Indesign Color settings.
    We are running CS3 and have a standard 'ISO Coated v2 ECI' color profile that we use in a color settings setting within our adobe CS3 suite.
    We use Bridge to synchonize our applications together and then go into illustrator's color settings afterwards and set 'preserve embeded profiles' to off so as to maintain our illustrator vector cmyk colors etc.
    If you go back and check the application color settings individually everything is fine. But our problem is that at some point indesign is resetting it's color settings back to the default col settings with U.S. Web Coated (SWOP) v2 as the CMYK profile.
    Has anyone else had this problem and is there a fix for it?
    Thanks in advance, Kevin.

    I've never heard of this. Try resetting your preferences : Replace Your Preferences
    Are you fully patched to 5.0.4?

  • CS5 Color Settings problem

    Hello, my issue is that now after switching to CS5 (from 4) whenever I work in Photoshop (only) the color settings look wrong on my screen. Everything has that yellowish/brownish tinge to it unless I enter "Proof Colors" and select "Monitor RGB" I can get it to look exactly as it should. Here are my settings:
    This second picture is actually a good example of what is going on... the screenshot on the right is what PS looks like without "Proof Colors" checked (wrong) and on the left is it with "proof colors" checked. Can anyone help me out? Its a total pain to have to use proof colors every time, and I don't understand what has changed from CS4 to CS5 - Thanks!

    It's likely isolated to Photoshop because it's one of the very few color-managed applications available.
    A hunch...  In Windows 7, check this:
    1.  Click Start and type color management into the search box.
    2.  When Color Management comes up, click it.
    3.  Click the Advanced tab.
    What Device and Viewing Conditions profiles do you see in the Windows Color System Defaults section?
    The defaults all start with System default ...  If any are changed, perhaps you might want to put them back to their default settings.
    -Noel
    P.S., You might want to consider checking the checkboxes next to "Ask When..." in your Photoshop Color Management preferences dialog.  I find doing so helps me know when an image is not in my preferred color space.

  • Lllustrator and Photoshop display different colors despite synchronized CS5 Color Settings

    I've got some students who noticed that Illustrator and Photoshop display completely different colors on screen for eactly the same RGB values despite Color Settings being synchronized.
    Settings are:
    CSF: North American Web/Internet  (RGB color space = sRGB),
    Proof Set-up: Internet Standard sRGB
    Proof Colors turned On.
    RGB Values:  R=0  G= 162  B=211
    But colors displayed are not close between Ai and Ps.
    With Proof Colors turned off, both apps display the colors reasonably closely.
    I teach Photoshop and Print Color Management, so I admit my knowledge of how Illustrator handles screen proofing and proof set-ups for screen destinations is not comprehensive.
    I expect I'm missing some difference in the two apps' behaviour.
    Any info from anyone experienced in this corner of the field appreciated.
    Cheers
    Tom

    I've got some students who noticed that Illustrator and Photoshop display completely different colors on screen for eactly the same RGB values despite Color Settings being synchronized.
    Settings are:
    CSF: North American Web/Internet  (RGB color space = sRGB),
    Proof Set-up: Internet Standard sRGB
    Proof Colors turned On.
    RGB Values:  R=0  G= 162  B=211
    But colors displayed are not close between Ai and Ps.
    With Proof Colors turned off, both apps display the colors reasonably closely.
    I teach Photoshop and Print Color Management, so I admit my knowledge of how Illustrator handles screen proofing and proof set-ups for screen destinations is not comprehensive.
    I expect I'm missing some difference in the two apps' behaviour.
    Any info from anyone experienced in this corner of the field appreciated.
    Cheers
    Tom

Maybe you are looking for