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 **/
But I can't find any event that suites my needs.
Ssomeone has a clue? thank's.
Looks like there are no AfterDocumentClose csxs event but you know that already. There are however regular AFTER_CLOSE event in InDesign Object model but it implies using a persistent engine. I have no idea how this would work combined to an extension.
Another way I used with flash extensions was using some kind of interval to regularly check things unreachable in the object model.
I was thinking that to, the only option would be to use some kind of interval to check the numbers of actually opened document...but for my case it's not suitable... thank's for the help