In any dialog box or error message, pressing Return will select the blue (default) button. Pressing Escape is the same as pressing the Cancel button. In many applications pressing the command key and the corresponding key for the first letter of the name on the button is the same as clicking that button. For example, if your button choices are Save and Dismiss, pressing command-D would work the same as clicking the Dismiss button. This doesn’t work in all programs.