Sunday, September 16, 2007

Help for Mac Users

One of the things I've come to hate about my mac, is that there is no easy way to quit all open applications at once. After some research, I found this handy little script that I copied into AppleScript, saved as an application and loaded it on my dock. Now, all I have to do is double-click and all my apps shut down at once. Enjoy!

tell application "System Events" to set the_apps to name of every application process whose visible is true and name is not "Finder"
repeat with each_app in the_apps
tell application each_app to quit
end repeat

No comments: