Skip to main content
DarthTormaim
Known Participant
March 31, 2018
Answered

Extract script does nothing in Reader

  • March 31, 2018
  • 3 replies
  • 346 views

Ok so I was looking around and I found this:

var newDoc = this.extractPages(this.numPages-1);

Tried it in Acrobat (Mouse UP button event) and it worked but it did nothing in Reader DC.

Am I missing something here?

I am trying to allow those without Acrobat to extract the page and save it so they can email it. I saw another to directly attach it to email but my company only utilizes the webmail than an actual client.

Anyway I can actually get this to work?

This topic has been closed for replies.
Correct answer gkaiseril

As shown in the Acrobat JavaScript Reference extractPages method is not available to Reader, the "X" in the fourth column, Availability, indicate not allowed or available to Reader.

3 replies

gkaiserilCorrect answer
Inspiring
April 1, 2018

As shown in the Acrobat JavaScript Reference extractPages method is not available to Reader, the "X" in the fourth column, Availability, indicate not allowed or available to Reader.

Legend
April 1, 2018

Adobe don’t want people without Acrobat to do this; the status of this is per the JavaScript API documentation. You can think of the API as chiefly a marketing tool for Acrobat.

try67
Community Expert
Community Expert
March 31, 2018

This can't work in Reader.