Question
Trigger app.close() from afterOpen event -
Hii
i have a script which checks for all the broken links. If i find a broken link i want to close the current document.
I tried with app.close() from within the afterOpen event. and i get an error "cannot close document because it is the target of an active event".
how do i stop the propagation of the event or a workaround to trigger the close of document from wthin the event.
