Javascript to redact different bits of different pages

Community Beginner ,
Sep 01, 2017

Copy link to clipboard

Copied

Is there a way to use the automation script from Thom Parker to redact an area of one page and then a different area of another page?

What I'm trying to do is redact the name and address from page 1 of a letter (which I can do with Thom's script); but then I want to redact some other details on page 3 which aren't in the same place as the data on page 1.

Is it possible to write this into the script or should I split the script in two and redact the information from page 1 before running a second script to redact the data on page 3.

Kind regards,


Martin

TOPICS
Acrobat SDK and JavaScript, Windows

Views

169

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

Javascript to redact different bits of different pages

Community Beginner ,
Sep 01, 2017

Copy link to clipboard

Copied

Is there a way to use the automation script from Thom Parker to redact an area of one page and then a different area of another page?

What I'm trying to do is redact the name and address from page 1 of a letter (which I can do with Thom's script); but then I want to redact some other details on page 3 which aren't in the same place as the data on page 1.

Is it possible to write this into the script or should I split the script in two and redact the information from page 1 before running a second script to redact the data on page 3.

Kind regards,


Martin

TOPICS
Acrobat SDK and JavaScript, Windows

Views

170

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
Sep 01, 2017 0
Adobe Community Professional ,
Sep 01, 2017

Copy link to clipboard

Copied

May be when you can change the 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
Reply
Loading...
Sep 01, 2017 0
Most Valuable Participant ,
Sep 01, 2017

Copy link to clipboard

Copied

You can do it all in one 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
Reply
Loading...
Sep 01, 2017 1
Community Beginner ,
Sep 03, 2017

Copy link to clipboard

Copied

Hi try67,

Since my javascript knowledge isn't very good, could you explain how to do it or could you write something approximate for me (obviously with an appropriate fee)?

Best wishes,

Martin

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...
Sep 03, 2017 0
Most Valuable Participant ,
Sep 03, 2017

Copy link to clipboard

Copied

Yes, I can.

You can contact me privately at try6767 at gmail.com to discuss it further.

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...
Sep 03, 2017 0
Community Beginner ,
Sep 06, 2017

Copy link to clipboard

Copied

I've e-mailed you from my personal e-mail to discuss this further

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...
Sep 06, 2017 0
Adobe Community Professional ,
Sep 02, 2017

Copy link to clipboard

Copied

With JavaScript you can place multiple "Redact:" annotations and then "applyRedactions" at one time as long as you want the same options applied to all redactions.

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...
Sep 02, 2017 0
Community Beginner ,
Sep 06, 2017

Copy link to clipboard

Copied

Can the redactions be across multiple pages of a document?

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...
Sep 06, 2017 0
Most Valuable Participant ,
Sep 06, 2017

Copy link to clipboard

Copied

Yes.

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...
Sep 06, 2017 0