Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was wondering if there is a way to, when using OS X's (10.8) default application switcher (Cmd+Tab) to hide applications that don't have any windows open but are still running?

For example, I'm running the Osfoora Twitter client but have closed all of its windows. If I Cmd-Tab, Osfoora is still displayed in the application list (as it should, by default) — however, I find that this is often interfering when I'm quickly switching apps, as right now the switcher has a nasty habit of keeping Osfoora as one of the first items in the activity switcher.

I figured that there probably should be a way to hide any applications from the application switcher that don't have any windows open (i.e., that I am no longer actively using) — so is there?

share|improve this question
1  
Why don't you just quit the program with Cmd + Q –  pratnala Nov 20 '12 at 2:09
1  
Because I want to keep it running — like a Twitter client, I still want my timeline to be there when I open it and to receive any notifications –  PZ01 Nov 20 '12 at 11:22
    
ah ok get your point –  pratnala Nov 20 '12 at 13:25
add comment

2 Answers 2

The automatic termination feature introduced in 10.7 should already do that, but it only works with some applications and only in some cases. If you for example open Preview, open at least one window in it, close all windows, and focus another application, Preview should be hidden from the Dock and the application switcher. The process is not actually terminated, but there might be some changes in how it is managed.

Witch and Switché have options to always hide applications with no open windows:

share|improve this answer
    
Thanks, I'll check those two out! But I suppose there isn't any way to do this with the stock switcher? –  PZ01 Nov 20 '12 at 11:25
add comment

Open the Info.plist of the application you intend to perform this on and add the following:

<key>NSUIElement</key>
<string >1</string>

The Info.plist can usually be found at /Applications/[app name].app/Contents/Info.plist with the [app name] obviously being the name of your app.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.