2 Replies Latest reply on May 27, 2014 7:17 PM by HarveyLiu

    Please help me to correct my script!

    HarveyLiu

      Please help me to correct my script

       

      I use this script which copy from the adobe forum:

       

      app.findGrepPreferences.findWhat = "\\r";

      app.changeGrepPreferences.changeTo = "\\r\\r";

      app.changeGrep();

      app.findGrepPreferences = app.changeGrepPreferences = null;

       

      to change my return one to two, but it will always change all my document,

      How can I tell the script I only want to change the slection?