prevent adobe from opening when executing a code

New Here ,
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);

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

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

TOPICS
Acrobat SDK and JavaScript

Views

154

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

prevent adobe from opening when executing a code

New Here ,
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);

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

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

TOPICS
Acrobat SDK and JavaScript

Views

155

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
Mar 08, 2019 0
Most Valuable Participant ,
Mar 09, 2019

Copy link to clipboard

Copied

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
Reply
Loading...
Mar 09, 2019 0