JavaScript how Export PDF data to the open file directory?
Hi guys,
I'm learning JavaScript for Adobe Acrobat Pro, I have a script that:
When the "export" button is hit, a window to browse/save the file is open.
The directory shown by default is not the same as the open PDF.
I'm struggling to find a way for the script to use the open PDF directory to be displayed by default when I hit "export". I'll be working with many different subfolders and it can be really risky if I accidentally save the file on the wrong folder.
The script has the standard recommendation code for security etc, but let me know if I could be missing something. I'm sorry but I'm not allowed to share the code.
Is it even possible?
Thank you
