4 Replies Latest reply on Apr 16, 2011 5:50 PM by John Hawkinson

    application "on before close" event

    zyberkid Level 1

      is there any event that we can handle in the application on before close event?


      Below is my try, but it didn't work.


      function onAppClose()
           alert("hooray app closing");
      app.addEventListener("applicationBeforeQuit", onAppClose);


      this is the code that i have tried and placed in the start up scripts, but it is not working for me.


      on closing the indeisgn application the event is not fired.



      can you guys help me out?