Page Deletion Event?

Participant ,
Jan 22, 2020

Copy link to clipboard

Copied

Is there a way to trigger a script from the event of a page being deleted from the page thumbnails tab? Related, is it possible to prevent page deleting in this manner?

TOPICS
Acrobat SDK and JavaScript, How to, PDF forms

Views

34

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

Page Deletion Event?

Participant ,
Jan 22, 2020

Copy link to clipboard

Copied

Is there a way to trigger a script from the event of a page being deleted from the page thumbnails tab? Related, is it possible to prevent page deleting in this manner?

TOPICS
Acrobat SDK and JavaScript, How to, PDF forms

Views

35

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
Jan 22, 2020 0
Most Valuable Participant ,
Jan 22, 2020

Copy link to clipboard

Copied

No, and no.

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...
Jan 22, 2020 0
try67 LATEST
Most Valuable Participant ,
Jan 22, 2020

Copy link to clipboard

Copied

- The only way I can think of doing it is to use the setInterval method to run a script every X amount of time, each time comparing the current number of pages in the file with the previous value, but that is very tricky and could cause it to lag.

- You can apply a security policy to the file that prevents editing it, or digitally sign it.

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...
Jan 22, 2020 0