Is there any way to execute a script when a page gets deleted? I'd prefer it if I could do it when a specific page (spawned from a template) is deleted, but I can certainly get around that issue by searching for a specific field. For my purposes, if the field no longer exists, I'll assume the page has been deleted. The main issue, however, is how I attach a script to a "delete page" event.
There no such event as Page Delete. Only Page Open and Page Close, and
neither of them fires when the page is deleted.
Right, but is there any work around?