prevent adobe from opening when executing a code

New Here ,
Mar 08, 2019 Mar 08, 2019

Copy link to clipboard

Copied

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

Views

158

Likes

Translate

Translate

Report

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

Most Valuable Participant , Mar 09, 2019 Mar 09, 2019
It's designed to open. JavaScript doesn't work on invisible windows.

Likes

Translate

Translate
Most Valuable Participant ,
Mar 09, 2019 Mar 09, 2019

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

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