1 Reply Latest reply on Jan 7, 2013 3:22 AM by BEGINNER_X

    selecting Pantone in InDesign with script


      I selecting a specific color of my document


      Hey all !



      I'm trying using Script:



      var myDoc = app.activeDocument;

      var midPage = myDoc.pages.middleItem();

      var color = PANTONE 7490C;



      to see if I can give Script code to get the result.




      thank you very much hope to answer please.


        • 1. Re: selecting Pantone in InDesign with script
          BEGINNER_X Level 3

          Hi Raul,


          I also beginner only. Please try this below script may it helps you.


          app.findTextPreferences = app.changeTextPreferences = null


          app.findTextPreferences.fillColor = "PANTONE 100 UP"     //Insert your PANTONE 7490C

          app.changeTextPreferences.fillColor = "GREEN"                 //Replace your needed color