• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Page Deletion Event?

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

Views

158

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

Copy link to clipboard

Copied

No, and no.

Votes

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
Community Expert ,
Jan 22, 2020 Jan 22, 2020

Copy link to clipboard

Copied

LATEST

- 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.

Votes

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