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

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.

Hi,
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.
Loic

Similar Messages

Maybe you are looking for

  • Error while making Production Order

    Hello, While I am trying to make production order for one material it is giving an error " Date lies outside the valid factory calendar" even for 1 kg. For other materials the error is not coming, both have the same work centre's. Please guide me wha

  • ColdFusion Builder with case sensitive file system on Mac?

    Hi there, I tried to install CF Builder on my MacBook Pro (Intel), OS-X 10.5.7 with case sensitive file system. Installation went smoothly, but, when I try to launch CF Builder, I get an error saying that the "architecture is not supported". Is it ju

  • Stop the sales order flow from r/3 to CRM

    Hello Experts, I have an issue regarding middleware: In our process 1. we create a work order in r/3 from that we create a followup sales order in r/3 itself. But the problem is once the sales order is created in r/3 that is flowing to CRM . Our requ

  • Query Properties Set Globally

    HI all, How can i set properties of the query globally. Ex. I want to keep "column Width" as "Ajust to Result Area" by default. As i hav to set manully everytime when refresh and open the query. By default it is set on "Adjust to Whole column". pleas

  • Changing color of JSplitPane divider

    I have seen many posts on this topic but so far no resolution. What I want is for the two buttons on the divider to be visible but the rest of the divider be invisible. Since my page is white I thought I could set the divider background to white and