[quote]Originally posted by Brad:
<strong>I've got an idea!
Whenever you tell the system to shut down, it first goes through all the apps and closes all documents. If there are unsaved changes, you are prompted to save them. Well, this may not be an optimal solution, but you could leave something like TextEdit hidden in the background with a new file containing a few random keystrokes. When your system tries to shut down, it'll ask if you want to save changes to the file. Simply press cancel and the shut down process will be halted, allowing you to continue working.
Eh, it's better than nothing.
I had actually thought of that before... Snak, my IRC client, will ask for a quit message before quitting. Similarly, it should be possible to create an app asking for a password before exiting. I guess I'll have to wait until I've learned some Cocoa/Objective-C...