0 Replies Latest reply on Jul 18, 2011 3:11 PM by InMatrix

    How to listen on the undo event in Photoshop?

    InMatrix

      Hello,

       

      Has anyone been able to listen on the undo event in Photoshop? The EventWatcher application seems not to fire that event for me. I also tried the Notifier Class in the ExtendedScript API without success. The following script had no effect on my Photoshop:

       

       

      app.notifiersEnabled = true;

      var eventFile = new File(app.path +"/Presets/Scripts/Event Scripts Only/Welcome.jsx");

      app.notifiers.add('undo', eventFile);

       

      But if I change "undo" to other event Ids (e.g. 'Cls '), it worked. So I'm wondering whether it is just my Photoshop (CS5.1 for Mac) or the "undo" event is not implemented at all.

       

      Thanks!

       

      Tao