MacOS – Keyboard shortcut for “Revert Changes” in closing dialog

dialogmacosshortcut

A few releases of macOS (Mac OS X) ago, many native apps (such as Preview, TextEdit, etc) changed their closing dialog options from "Don't Save", "Cancel", and Save"…

"Don't Save" dialog

…to "Revert Changes", "Cancel", and "Save".

"Revert Changes" dialog

The former set of options is still available in most third-party apps, as shown in the first screenshot above.

"Don't Save" and "Revert Changes" do the same thing, but the former set of options can be activated from the keyboard via commandd, esc, and return, whereas the latter has no shortcut for "Revert Changes" (as far as I can tell).

Call me picky, but this renders the native apps nearly worthless.

Has anyone yet found a way to activate "Revert Changes" from the keyboard, rather than having to use the trackpad to click the button?

I've tried mashing various key-combinations into the keyboard. I've tried tabbing and option-tabbing. I've tried creating a keyboard shortcut for all apps in Syst Prefs. I wonder if there's something to enter into Terminal? And I'm not interested in changing the tab key to focus on all interactive elements. Thank you.

Best Answer

Your screenshot doesn't seem to show it, but for me [Revert Changes] has a blue outline...

enter image description here

...which means it can be activated with the Space Bar.

I literally just figured this out (even relative experts can learn something new every day!), but apparently it's been a feature of macOS for quite some time.

(BTW, to change which button is outlined (and therefore which button is activated by the Space Bar), use the Tab key.