2 Replies Latest reply on Feb 2, 2015 8:26 AM by enricog74148433

    Get document closed event on any document, not only active one

    enricog74148433

      Hy

      I'm want to know if it's possibile to have a csxs event on any document taht the user closes. I'm now using documentAfterActivate to see when a user's activates a new document, by I want to be able to tell if the user has closed a document, even if it's not the active one in that moment.

      this is my code

       

           var csInterface = new CSInterface();

           /** other non influent code **/

           csInterface.addEventListener("documentAfterActivate", newDocumentOpened);

       

      But I can't find any event that suites my needs.

      Ssomeone has a clue? thank's.