You can use the method setAction.
that's exactly what it's all about 🙂
just where to put this script?
Where want you use the script?
just realized the pointlessness of my question: "where to put this script" 🙂
it can be placed everywhere 🙂
because the script does not close the document, but adds some commands to be executed before closing it :~|
it's all clear now
thanks for the help
Note that setAction can't be used in Reader.
wow: Acrobat DC SDK Documentation
I use js_api_reference.pdf
it seems to be the same
Beware, both contain obsolete chapters.
thank you for this information