Post by Andy Lee
I don't know where or whether it's documented, but it's not new.
Using Space for "clicking" whichever control has focus has been around
for a while. I don't remember offhand -- it may depend on the setting
in System Preferences that governs whether all controls can get
Which version of macOS are you running?
Thanks for the comments.
On my development machine running 10.12.6 pressing the spacebar will dismiss a simple NSAlert. This is because in System Preferences > Keyboard > Shortcuts > Full Keyboard Access > All Controls was selected. (For some reason it took forever to discover this.)
When "All Controls" is selected the control with focus will have a focus ring drawn around it and pressing the spacebar will "click" the control with focus. Also pressing the tab key will move the keyboard focus between controls.
Setting a control key equivalent to the return key will make it the default control and it will be blue. The default control can be "clicked" by pressing the return key.
One common place where you can see all of this in action is in the alert when emptying the trash in Finder.
At one time this may have been all in my muscle memory but if you have been using your iPhone day in and day out for the last many years then you may need a referesher.
Cocoa-dev mailing list (Cocoaemail@example.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to ***@ml-in.narkive.net