1 Reply Latest reply on Mar 27, 2017 2:28 AM by Silver Back Gorilla

    Script running "too fast" for ESC key to abort it

    Silver Back Gorilla Level 1

      I created a script to loop through all video frames and run actions. I want to have a way to abort it if needed. The esc key is not working so well for this. Every now and then I can get it to trigger. However, I think the jsx is just constantly busy doing stuff that is doesn't allow the esc key to trigger the script aborting.

       

      Does anyone know of a work around for this? I tried a palette Window (not officially supported, I know) with a button but the user can't get control of the window while the script is processing. I also tried adding an app level and doc level keydown event listener. However, I don't think the keydown event listener is supported at an app or doc level.

       

      Am I just out of luck on this?