Posts Tagged ‘accelerator’

5th April
2009

Want to use keyboard accelerators to drive dialogues etc. in Mac OS X? Here’s how.

written by Mark Wheadon

The need

Coming from the Windows to Mac OS, I missed being able to interact with dialog boxes etc. without having to use the mouse. There are times, especially with the MacBook, where clicking on an option is fiddly and error prone (in bed with a cup of tea for example 🙂 ) and it would be much better if I could use the keyboard…

without-full-keyboard-accessHere’s an example: here I am quitting from Safari. As is often the case, the dialog has reminded me that I don’t actually want to quit as I have multiple tabs, so I want to cancel the operation. Pressing return will close Safari, but how do I select Cancel? (Yes, I know you can press esc to cancel a dialog, but bear with me — the following solution works for all dialog selections and menus, not just Cancel).

The solution

The answer is to select All controls in Full keyboard access in Settings->Keyboard & Mouse->Keyboard Shortcuts:

full-keyboard-access

Or, much easier 🙂 , type ctrl+F7.

with-full-keyboard-accessNow when that dialog pops up it looks different. Notice that Cancel is surrounded by a blue glow — that’s the dialog option that currently has keyboard focus, and pressing the space bar will select it.

Now you can navigate the dialog box using the keyboard: tab and shift-tab change the currently selected option, space selects that option, and return will always select the solid-blue default option.

So in this example, space will cancel the dialog and return will do the default action (close Safari in this case).

So you can now navigate dialog boxes on a MacBook, in bed, armed with a cup of tea — and I hear tell this even works with coffee, at a pinch 🙂

20th January
2009

A case of clashing of hot-keys.

written by Mark Wheadon

Surely Adobe’s Photoshop and Mac OS X Leopard wouldn’t share a keyboard accelerator for something important, would they?

Yup 🙂 Feathering a selection’s edge in Photoshop using Command+Option D (cmd+alt D) in Photoshop on the Mac results in the dock hiding itself. And if you’re an experienced PS user then you probably feather selections all the time.

hide dock shortcut

The fix? Change the Mac OS accelerator for ”Automatically hide and show the Dock” to something different (I use cmd+alt+o).

System Preferences->Keyboard & Mouse->Keyboard Shortcuts