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

prevent adobe from opening when executing a code

New Here ,
Mar 08, 2019 Mar 08, 2019

Good.
I would like to know how to avoid opening the acrobat window when executing the following code (JS)

var createdDocument = app.newDoc();

createdDocument.saveAs({cPath: ReleasePath});

createdDocument.closeDoc(true);

TOPICS
Acrobat SDK and JavaScript
511
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

correct answers 1 Correct answer

LEGEND , Mar 09, 2019 Mar 09, 2019

It's designed to open. JavaScript doesn't work on invisible windows.

Translate
LEGEND ,
Mar 09, 2019 Mar 09, 2019
LATEST

It's designed to open. JavaScript doesn't work on invisible windows.

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