8 Replies Latest reply on Jan 17, 2015 9:36 AM by Teetan VK

    Correct script

    Teetan VK Level 1

      Hi everyone

       

      Could someone please correct my script please!

       

              var docs = app.documents;
              for (var i = docs.length+1; i >= 0; i++) {

                     app.findGrepPreferences = app.changeGrepPreferences = null;
                     app.findGrepPreferences.underline = true;
                     app.changeGrepPreferences.underline  = false;
                     app.changeGrep();
                     app.findGrepPreferences = app.changeGrepPreferences = null;
                    
                     }

      thanks

      Teetan