Skip to main content
JMFreeman
Inspiring
January 22, 2020
Question

Page Deletion Event?

  • January 22, 2020
  • 2 replies
  • 235 views

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?

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
January 22, 2020

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

Legend
January 22, 2020

No, and no.