I often forget to close an application before I "retire" for the evening. One of my backup routines won't backup files that are still open.
Can someone please provide a script that will close a specific application with two options:
1) Force it closed (even if it prompts to save unsaved changes)
2) Don't force it closed (if it prompts to save unsaved changes, leave it alone until morning)