Alfredo Jahn

Q: How to dismiss a dialog without using the mouse

I remember back in the day, you could use Command + <first letter of button> to select a button other that "OK" on a dialog. For example, in the following dialog I want to select "Delete", without clicking on it with the mouse. I can tab to it, but it takes several tabs to get there. Is there a faster way?

 

Screen Shot 2016-05-27 at 6.55.12 AM.png

iMac, OS X El Capitan (10.11.5), 8GB RAM, 1TB HD

Posted on May 27, 2016 4:57 AM

Close

Q: How to dismiss a dialog without using the mouse

  • All replies
  • Helpful answers

Previous Page 2
  • by Luis Sequeira1,

    Luis Sequeira1 Luis Sequeira1 May 28, 2016 7:44 AM in response to Alfredo Jahn
    Level 6 (12,132 points)
    Mac OS X
    May 28, 2016 7:44 AM in response to Alfredo Jahn

    Command-D selects the Desktop folder. If you are already on the Desktop folder nothing happens...

  • by Lexiepex,

    Lexiepex Lexiepex May 28, 2016 8:08 AM in response to Lexiepex
    Level 6 (10,477 points)
    Mac OS X
    May 28, 2016 8:08 AM in response to Lexiepex

    Again, with the risk being boring):

    If I have an open 'save-delete' window like the first one of the OP, and I press CMD+D the file in question is deleted.

    Lex

    ElCapitan.

  • by Luis Sequeira1,Helpful

    Luis Sequeira1 Luis Sequeira1 May 28, 2016 8:59 AM in response to Lexiepex
    Level 6 (12,132 points)
    Mac OS X
    May 28, 2016 8:59 AM in response to Lexiepex

    Lexiepex wrote:

     

    Again, with the risk being boring):

    If I have an open 'save-delete' window like the first one of the OP, and I press CMD+D the file in question is deleted.

    Lex

    ElCapitan.

    Not boring at all, but it is only partially correct - as it turns out, that depends on the application. Here is a small sample:

     

    TextWrangler - Command-D works as you say.

    TextEdit, Smultron, Grab -  Command-D selects the Desktop - this is the default for Cocoa applications.

     

    Mail takes Command-D if you do Save for a new message; this is explainable by the fact that you aren't actually saving a message using the file system, it is handled internally by the application. However, if you do a Save As..., then Command-D again selects the Desktop.

     

    TextWrangler is actually peculiar, in that holding down the Command-Key shows the shortcuts on the buttons themselves. This clearly is something that the application specifically implemented, and I haven't seen anywhere else. The screenshot shows what happens with the Command key held down. Not holding the command key, the shortcuts do not appear next to the button text.

     

    Screenshot 2016-05-28 at 16.33.44.PNG

  • by Luis Sequeira1,

    Luis Sequeira1 Luis Sequeira1 May 28, 2016 8:43 AM in response to Luis Sequeira1
    Level 6 (12,132 points)
    Mac OS X
    May 28, 2016 8:43 AM in response to Luis Sequeira1

    Here is the relevant Apple support document on shortcuts:

     

    Mac keyboard shortcuts - Apple Support

  • by Lexiepex,

    Lexiepex Lexiepex May 28, 2016 8:52 AM in response to Luis Sequeira1
    Level 6 (10,477 points)
    Mac OS X
    May 28, 2016 8:52 AM in response to Luis Sequeira1

    Luis, as always, you are very precise...

    Your remark is quite correct, it depends on the application !

    of which notice, as we say here

    Thanks for the correction

    kudos,

    Lex

Previous Page 2