7 Replies Latest reply on Apr 5, 2017 3:21 AM by Laubender

    Color Settings

    Sudha K Level 1

      Hi,

       

           I need to enable the checkbox "Advance Mode" of Color Settings dialog (Edit -> Color Settings) for Conversion Options Values.  How can i enable that Checkbox??? I checked the DOM for this but I don't know what to use to enable this??

       

      Also, I need to choose the Settings value to "Custom".  How can i set this??

       

       

      Screen shot 2016-05-12 at 10.35.27 AM.png

        • 1. Re: Color Settings
          tpk1982 Level 4

          this link is useful for your search

           

          Re: IDCS2 Win:  Why doesn't the dialog reflect the change?

           

           

          but the following is apply the custom, try this

           

          try{app.colorSettings.cmsSettingsPath = "../Library/Application Support/Adobe/Color/Settings/ExtraSettings/xx.csf"}
          catch(e){}
          
          • 2. Re: Color Settings
            Sudha K Level 1

            Hi,

             

                 I am uisng the below code for that dialog.  I dont know how to enable advance mode and conversion options... Searched in DOM object model but could not find...

             

                 var workingSpacesRGB = "sRGB IEC61966-2.1";

                var workingSpacesCMYK = "U.S. Web Coated (SWOP) v2";

                var clrMgtRGBPolicy = ColorSettingsPolicy.PRESERVE_EMBEDDED_PROFILES;

                var clrMgtCMYKPolicy = ColorSettingsPolicy.COMBINATION_OF_PRESERVE_AND_SAFE_CMYK;

                var colorOptsEngine = "Adobe ACE";

                var colorOptsIntent = "Relative Colourimetric";  

               

                app.colorSettings.workingSpaceRGB = workingSpacesRGB;

                app.colorSettings.workingSpaceCMYK = workingSpacesCMYK;

                app.colorSettings.rgbPolicy = clrMgtRGBPolicy;

                app.colorSettings.cmykPolicy = clrMgtCMYKPolicy;

               

                app.colorSettings.mismatchAskWhenOpening  = false;

                app.colorSettings.mismatchAskWhenPasting = false;

                app.colorSettings.missingAskWhenOpening = false;

                //app.colorSettings.enableColorManagement  = true;   

                app.colorSettings.useBPC = true;

            • 3. Re: Color Settings
              tpk1982 Level 4

              Hi,

               

              Yeah i too trying to find the advanced mode.. but why dont you try to save your desired setting with a name... and load the saved .csf file from javascript?

               

              am sure this is  solution for now

              • 4. Re: Color Settings
                Sudha K Level 1

                Hi,

                 

                     I can do using color setting file... but i want to do without color settings file....

                 

                    If you find out pls let me know...

                • 5. Re: Color Settings
                  Sudha K Level 1

                  Hi,

                   

                      I used saved color setting file to load in color settings.  If Advanced mode is enabled there, then the values under the conversion options is view able. If it is not enabled, then we have to enable that check (Advanced mode) manually to see the conversion options...

                   

                       Is it cause any issue in file while exporting pdf?? How to handle this case???

                   

                   

                       I also check in applescript, could not found in apple script...  There is idealized black to export/ to screen , but its not found in tat color setting dialog.. but its in library...

                   

                       Screen shot 2016-05-13 at 2.11.33 PM.png

                  • 6. Re: Color Settings
                    Laubender Adobe Community Professional & MVP

                    https://forums.adobe.com/people/Sudha+K  wrote

                    … If it is not enabled, then we have to enable that check (Advanced mode) manually to see the conversion options...

                         Is it cause any issue in file while exporting pdf?? How to handle this case???

                    Hi Sudha,

                    "Advanced Mode" is not turning on/off any settings. It's just making them visible to the user.

                     

                    FWIW: If "Advanced Mode" is enabled once by the user, it will be enabled as long as the user is changing this. Or as long as the InDesign preferences are not trashed.

                     

                    Regards,
                    Uwe

                    • 7. Re: Color Settings
                      Laubender Adobe Community Professional & MVP

                      tpk1982  wrote

                      this link is useful for your search

                      Re: IDCS2 Win:  Why doesn't the dialog reflect the change?

                       

                      but the following is apply the custom, try this

                      try
                      {
                      app.colorSettings.cmsSettingsPath =
                      "../Library/Application Support/Adobe/Color/Settings/ExtraSettings/xx.csf"
                      } catch(e){}

                       

                      Hi Karthi,

                      I think this code would be a bit "dangerous" to use.


                      It could temporarily add a new csf name to the list with cmsSettingsList .
                      At least that happened to me in one of my experiments once. Currently I cannot recreate it. Could be dependent on the InDesign version perhaps. The name was added at the very bottom of the pull down menu where you select the csf files in an extra category.

                       

                      I think, better is to change one of the properties shown in the UI like useBPC and change it back to its old value.

                       

                      Following scenario:
                      Let's start with color settings where the user applied a csf file like that.
                      German InDesign CS6 8.1.0 on Mac OSX 10.10.5.

                       

                      1-ColorSettings-UI-ShowingUsedCSF.png

                       

                       

                      Setting this to "Custom" by scripting

                       

                      Method A:
                      Your suggestion, if I did not misunderstand you:
                      Use a csf file that does not exist.

                       

                      // File path is MAC OSX:
                      var notExistingFile =
                      File("~/Library/Application%20Support/Adobe/Color/Settings/xx.csf");
                      
                      try
                      {
                          app.colorSettings.cmsSettingsPath = notExistingFile;
                      } 
                      catch(e){};
                      

                       

                      Opening the color settings will provoke a warning message first:

                      "Some parameters of the csf file could not be applied. Default values will be applied."

                      3-ColorSettings-UI-ChangedPath-Warning.png

                       

                      After OK I see the settings like shown in the screenshot below where I'm not sure what is exactly be shown here.
                      Something like the app defaults. They coud be the settings showing immediately after InDesign is installed.

                      Also for all localized versions of InDesign after the install. But I'm not exactly sure.

                       

                      With my German inDesign this would be dead-wrong.

                      "Monitor RGB - Display" would be a big mistake.

                      And "U.S. Web Coated (SWOP) v2" would be a big mistake.

                       

                      The German "Benutzerdefiniert" can be translated to "Custom" ( or "user defined" ).

                       

                      4-ColorSettings-UI-ResetToAppDefault.png

                       

                      Method B: Changing a value like useBPC and back is more user-friendly I think:

                      The German "Benutzerdefiniert" can be translated to "Custom" ( or "user defined" ).

                       

                      And it is also showing the same principle how "Custom" is done with Sudha's screenshot in his first post here.

                       

                      2-ColorSettings-UI-UserChangedToCustom-NoChangesVisible.png

                       

                       

                       

                      Regards,
                      Uwe