4 Replies Latest reply on Mar 6, 2014 2:52 AM by camilo umana

    How to insert a signal to know this (any?) script is executed?

    camilo umana Level 1

      This script works silently and without advice but sometimes the double-click is not well done.

      And the only way to check if the output is exporting the file, that is a loss of time.

      I would like to insert a line that confirms the action.


      app.findGrepPreferences = null;

      app.findGrepPreferences.findWhat = '\\l\\l+';

      app.findGrepPreferences.appliedCharacterStyle = app.activeDocument.characterStyles.item("XX");

      foundList = app.activeDocument.findGrep(true);

      for (i=0; i<foundList.length; i++)

        foundList[i].changecase (ChangecaseMode.UPPERCASE);