2 Replies Latest reply on Feb 12, 2009 2:15 PM by KeithGilbert

    [JS CS3] Display number of changes made

    KeithGilbert Level 1
      My script does a simple GREP find/change:

      app.findGrepPreferences.findWhat = "grepstringtofind";
      app.changeGrepPreferences.changeTo = "";

      Is there any way to have the script display the "Search is completed. 121 replacement(s) made." dialog box that appears when "Change All" is clicked in the GREP find/change UI? Or alternatively, to somehow programmatically count how many changes were made?