Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Action Button to save, compress and send email

New Here ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

Hello everybody,

I'm using Adobe Acrobat XI PRO.

I'm trying to find a way to create an embedded action button that Saves a Form, Compresses it and Sends it by email.

I already managed to Create the button that Saves and Sends. I miss the Compress part.

Any tips would be helpful.

thank you

Jorge Dias

TOPICS
How to, PDF forms

Views

164

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
Adobe Community Professional ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

LATEST

The only way to optimize a file with a script is using the Preflight tool. You can create a custom profile that does it and then call it using the preflight method of the Document object.

However, in order to save the file without user interaction you would have to run this code from a trusted context, such as an app-level script.

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