Trigger on Application Close

Is there a way to have quartz perform an action before quitting? An On-Close patch would be really useful, especially for closing a file using File Tools. Thanks! I bought Vuo too, and didn't see a way to do it there either. Any ideas?