I'm looking for some information/references/examples and how to use javascript in Bluebeam.
Bluebeam said that you can refer to the following AcroForm documentation :
- https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_developer_guide.pdf
- https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_api_reference.pdf
But while trying to use some objects / properties / methods of those references, it seems than only some of them can be used. So, as there is no dedicated Bluebeam references, it's really tedious to figure out what can be done in JS within Bluebeam.
I've looked at all the examples from Bluebeam as this one : https://support.bluebeam.com/articles/how-can-i-create-interactive-stamps/
But this is very basic. Even while looking in details there is no much information.
Here is for example something that I'm trying to do : - Open a dialog just before saving with the "Doc/WillSave" event - Fill the different fields of the dialog - Use the fields content to save file or pre-fill the save field from the saveAs dialog - Save the file.
Obviously, the js-file is in a folder with security rights. But most of those functions seems not to exist in Bluebeam.
I've contacted the BB support but with not any feedback yet. Also, I found out other related post (@Logan) but there is not much follow-up about how it was solved (or not) => How to Save a .pdf document using Javascript
Thanks.