AppleScripts for automating macOS
I'm also using Red Sweater's FastScripts script management utility to configure these scripts to run.
You can copy the
Applications folder to your
~/Library/Scripts/ folder as a starting point if you have no other scripts or selectively copy just what you want.
Made two small changes to Mr. Gruber's quit confirmation.
- If there are no open windows, don't confirm the quit.
- Change prompt title to Quit Safari?
Close Tab Confirmation
I didn't know I could add the functionality to Safari until Gruber's post, but I've wanted a speed bump on closing a tab for a long time. It's great to finally have it, but it's not for everyone.
If the current tab is Favorites, then there is no prompt.
Why only add a quit confirmation to Safari when you can turn off Chrome's annoying ⌘W long press and do it right!