Copy link to clipboard
Copied
I'm working on a batch process javascript that will be running on HTML files to save them as pdfs, however it seems that when acrobat opens the HTML files since it has to render them it creates a temporary file. When I use this.path to get the file name and location it returns the temporary file path instead of the original. Is there a way to get the original path?
Copy link to clipboard
Copied
Unless that file-name is saved somewhere in the PDF's metadata (or
somewhere in the contents of the file itself), you have no access to it.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now