Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

One of my pet hates with OSX at the moment is that whenever I close an app (i.e. clicking the red button in the top left) then attempt to open it again using alt+tab I can't. I need to use my mouse or launch Alfred to open the app.

Ideally What I'd like todo is somehow override the close button with hide instead (hide as in cmd+h). By hiding an app, I can use alt+tab to retrieve it.

Any help would be great

share|improve this question
    
Specifically which apps? Most that I use do not do this. –  ughoavgfhw Nov 13 '12 at 16:10
    
Ideally, all apps. –  Shane Griffiths Nov 13 '12 at 22:37
    
You can reopen a default window by holding option before releasing command. Witch and LiteSwitch X have an option to make that the default behavior. –  ؘؘؘ Nov 14 '12 at 4:40

1 Answer 1

There are two types of app in OS X.
Document-based apps can have multiple windows, and they only close the window when you click the close button (red cross). The other type of app has only one window; and when you click the close button it quits the app.

Cmd+tab in OS X doesn't behave in the way you are trying to use it; it is simply for switching between open apps in a similar way to alt+tab on Windows (but not identical). It doesn't open apps that have been closed.

It's not the answer you want to hear, but I'm afraid there isn't a way to override the close button globally; it is a part of OS X's AppKit and can't easily be overridden by third-party software.

An easier fix would be not to click close when you only want to hide an app. Try pressing Cmd+H instead, or perhaps minimising the window by clicking the yellow button instead of the red one.

share|improve this answer
    
Thanks for your input. Appreciate that :) –  Shane Griffiths Nov 13 '12 at 22:37

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.