Standard Finishing
4Over

Announcement

Collapse
No announcement yet.

Change Registration Text to Black in Indesign

Collapse
Graph Expo
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change Registration Text to Black in Indesign

    We received a 500+ page file from a client. They set all the text as registration. Ugh. Is there a way to globally change the registration Colored text to just black?

  • #2
    Find and replace with the text color my friend.

    Comment


    • #3
      Simply use the find/change function and define the colors in the Format box.

      Screen Shot 2017-01-11 at 9.36.44 AM.png

      Comment


      • #4
        LOL....Thats what I figured, but I can't find it anywhere in the find and replace palette. Ugh. Feel silly.

        Comment


        • #5
          found it...thanks. Need more coffee!

          Comment


          • #6
            Another option is to use a very simply script.

            ALL text will be made black, so watch out for exceptions that are coloured (save the text as a .jsx file, ensure quotes are straight and not curly).

            Code:
            function makeAllTextBlack() {
                    var doc, blackColor;
                    if( !app.documents.length ){ return; }
            
                    doc = app.activeDocument;
                    blackColor = doc.colors.itemByName ( "Black" );
                    if ( !blackColor.isValid )
                    {
                        blackColor = doc.colors.add( {colorSpace:ColorSpace.CMYK, model:ColorModel.PROCESS, colorValue:[0,0,0,100], name:"Black"} );
                    }
                    try
                    {
                        doc.stories.everyItem().fillColor = blackColor;
                        alert("done");
                    }
                    catch(e)
                    {
                        alert(e+" "+e.line);
                    }
                }
            
                makeAllTextBlack();
            Comments are personal and my views may not be shared by my employer or partners.

            Comment


            • #7
              This javascript will only change registration colour to black:

              Code:
              // Convert registration color to black
              // https://forums.adobe.com/thread/1990206
              var doc = app.activeDocument;
              app.findObjectPreferences = app.changeObjectPreferences = null;
              app.findObjectPreferences.fillColor = "Registration"; 
              app.changeObjectPreferences.fillColor = "Black"; 
              app.changeObject();
              app.findObjectPreferences = app.changeObjectPreferences = null;
              app.findObjectPreferences = NothingEnum.nothing;
              app.changeObjectPreferences = NothingEnum.nothing; 
              app.findObjectPreferences = app.changeObjectPreferences = null;
              app.findObjectPreferences.strokeColor = "Registration"; 
              app.changeObjectPreferences.strokeColor = "Black"; 
              app.changeObject();
              app.findObjectPreferences = app.changeObjectPreferences = null;
              app.findObjectPreferences = NothingEnum.nothing;
              app.changeObjectPreferences = NothingEnum.nothing; 
              app.findTextPreferences = app.changeTextPreferences = null;
              app.findTextPreferences.fillColor = "Registration"; 
              app.changeTextPreferences.fillColor = "Black"; 
              app.changeText();
              app.findTextPreferences = app.changeTextPreferences = null;
              app.findTextPreferences = NothingEnum.nothing;
              app.changeTextPreferences = NothingEnum.nothing; 
              app.findTextPreferences = app.changeTextPreferences = null;
              app.findTextPreferences.strokeColor = "Registration"; 
              app.changeTextPreferences.strokeColor = "Black"; 
              app.changeText();
              app.findTextPreferences = app.changeTextPreferences = null;
              Comments are personal and my views may not be shared by my employer or partners.

              Comment

              UltimateDuploSmartsoft (Presswise)4OverStandard FinishingKBAAleyant
              UltimateDuplo4OverAgfa/EversifyStandard FinishingKBAKBAAleyantGraph Expo

              What's Going On

              Collapse

              There are currently 3792 users online. 91 members and 3701 guests.

              Most users ever online was 5,872 at 11:39 AM on 09-30-2016.

              Working...
              X