Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to get original file name in batch processing when HTML files are being processed?

New Here ,
Mar 23, 2016 Mar 23, 2016

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?

TOPICS
Acrobat SDK and JavaScript , Windows
296
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 23, 2016 Mar 23, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines