Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In an OS X dialog, there a way to make 'Enter/Return' invoke the currently selected button instead of the default one (and, if possible, make 'Space' invoke the default button instead). That is, can I swap the behaviors of 'Space' and 'Enter' in this situation?

[This would keep this behavior consistent with that of the web's, and other platforms like Windows and Linux]

share|improve this question
This UX behavior bothers me to where this should be fixed upon pain of death. Modal alerts are evil because they interrupt users. Modal alerts without keyboard shortcuts are embarrassingly stupid. Alerts should be batched in one system, like email, so they can be handled at will. – Barry Mar 5 '13 at 14:34
What do you mean by "currently selected" ? In a Mac dialog, traditionally, there is no way to select a button, we can only activate the button — usually by clicking it. – Nicolas Barbulesco Jan 31 '15 at 13:01

Updated: Explained here

Also, I use KeyCue to find most-if-not-all shortcuts in any context.

share|improve this answer
I already had that option selected. It has, afaik, nothing to do with what I am asking - i.e using 'Enter' to invoke the selected button instead of 'Space' – Himanshu Pokhariya Mar 5 '13 at 17:10
My bad. Updated. :) – Barry Mar 5 '13 at 18:50
The link just explains how to use the 'Space' and 'Enter' keys to invoke buttons in a dialog, but says nothing about how to swap their behaviors :) – Himanshu Pokhariya Mar 5 '13 at 20:40

Your Answer


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.