On Mac OS X (10.6.4) is there a keyboard shortcut to close all other windows except the one with focus?
Not that I know of.
You can however hide all other applications with
You can create an applescript to close all but the frontmost window of the current application. In snow leopard, you can put it in an automator service and give it a keyboard shortcut. Alternatively, you can use Fastscripts to give it a shortcut.
Edit: I've added hiding other applications to the applescript.
Edit #2: OK, after testing I found the