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?
No, and no.
- 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.