Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Shotgun OS

macrumors 6502a
Original poster
Dec 18, 2006
505
4
Ohio
Is there a keyboard shortcut that closes all apps and windows (besides the finder)? Is there a specific way to make a shortcut that does? or a script?

Thanks.
 
What you could do is create an automator workflow that can do this. What you'll do is open automator and drag the run shell script to the workflow and replace 'cat' with killall (insert program name here). Do this for all of the apps that you want quit and you have a workflow that you can run to accomplish what you want.
 
Do you really need to CLOSE them? A lot of people make use of one of the following:

- Exposé's show desktop feature, which pushes all the windows off to the edges temporarily

- If you press apple-option and click the Finder dock icon, it hides everything except Finder.
 
The app Quicksilver can do this.

You'll need to install Extra Scripts plug-in in the Plug-ins panel (which might require you to select Enable advanced features in the Preferences panel)...once installed, it's just a matter of summoning Quicksilver and starting to type "Quit Visible Apps"...once you get to "Quit V" then you can hit return to run the script. It won't quit any apps you have hidden, though.
 
Do you really need to CLOSE them? A lot of people make use of one of the following:

- Exposé's show desktop feature, which pushes all the windows off to the edges temporarily

- If you press apple-option and click the Finder dock icon, it hides everything except Finder.

Well, I run about 6-10 apps at a time, and I'd like to be able to close them all at once before I go to bed.
iBookG4user said:
What you could do is create an automator workflow that can do this. What you'll do is open automator and drag the run shell script to the workflow and replace 'cat' with killall (insert program name here). Do this for all of the apps that you want quit and you have a workflow that you can run to accomplish what you want.

Im really clueless when it comes to automator. :confused: Where can I find the run shell script? also, how come only some of my apps pop up in the automator application folder?
 
Im really clueless when it comes to automator. :confused: Where can I find the run shell script? also, how come only some of my apps pop up in the automator application folder?

I made a short tutorial in the included screen captures.
 

Attachments

  • Picture 1.jpg
    Picture 1.jpg
    173.4 KB · Views: 211
  • Picture 3.jpg
    Picture 3.jpg
    214 KB · Views: 193
COMMAND-W closes one window

OPTION-W closes all windows for the front app.

i accidentally opened about 50 preview windows on several occasions -- OPT-W closes them all.
 
If I need to close everything, I just the Cmd+Tab to tab through each one. Once I'm on an app I want to quit, just hit (Cmd+) Q. Once you get used it, it's very quick.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.