I am trying to show an alert when user close the document, i added this code to Tools>Javascript> Set document action>document will close
I am trying to show this alert app.alert("this document will close, have a nice day");
in adobe acrobat javascript
but when i try to close the document, the alert is not working!.