Skip to main content
tonyh55581104
Known Participant
March 27, 2022
Answered

How to to email the current page?

  • March 27, 2022
  • 2 replies
  • 1127 views

Is there a way to email the current page?

This topic has been closed for replies.
Correct answer try67

Yes, using this script in a Custom Command, for example:

 

var d = this.extractPages(this.pageNum);
d.mailDoc({cTo: "me@email.com", cSubject: "Page " + (this.pageNum+1) + " from " + this.documentFileName, bUI: false});
d.closeDoc(true);

 

Enter your own email address, of course.

2 replies

Dave Creamer of IDEAS
Community Expert
Community Expert
March 28, 2022

If you want a simple option, you could just use the extract command, email the page to yourself, and close the extracted page without saving.

David Creamer: Community Expert (ACI and ACE 1995-2023)
tonyh55581104
Known Participant
March 27, 2022

When I am reading a large pdf file and the current page has something I want to check out later, I would like to email it to myself. Is there a way to email the current page?

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 27, 2022

Yes, using this script in a Custom Command, for example:

 

var d = this.extractPages(this.pageNum);
d.mailDoc({cTo: "me@email.com", cSubject: "Page " + (this.pageNum+1) + " from " + this.documentFileName, bUI: false});
d.closeDoc(true);

 

Enter your own email address, of course.

tonyh55581104
Known Participant
March 28, 2022

Thanks. However I am not receiving any emails from Acrobat. I have tried the default mail application, Hotmail and Gmail. I had Mail in Windows do a test send and I received it. In Acrobat I click on the custom command, select the mail app and never get any errors.