Mac OSX: Setting a keyboard shortcut for maximize/resize window (green jewel)
I’ve been dreaming for a long time of a system-wide keyboard shortcut to maximize/resize the current window in OSX (windows-style, where the window fills the screen or not, rather than going to the dock). In pretty much every application the ‘Window’ menu item has Minimize (shunt to dock) and “Zoom” which resizes the window and has the same effect as the green “+” jewel in the window header. The Minimize item has the easy-to-use keyboard shortcut CMD+, while the Zoom item has no shortcut and no hint at how to get one.
I looked around and found some totally whacked out solutions involving applescript or bash scripting but finally found an incredibly simple and obvious method using System Prefs. I recommend it for everyone who is sick of using the mouse to hit the tiny green jewel.
Detailed steps to set a Maximize keyboard shortcut in Mac OSX 10.6
- Launch System Preferences from the Apple menu
- Go to Keyboard settings
- Go to Keyboard Shortcuts tab at the top of the window.
- Go to Application Shortcuts in the sidebar of the window.
- Click the small + button
- In the popup thing make sure ‘All Applications’ is selected for Application:
- In the Menu Title box type in exactly: Zoom
- In Keyboard Shortcut type in the shortcut. I recommend Command-Shift-M
- Click Add button.
- Restart each app you want it to work in.

Note on restarting apps: These shortcuts work on an app-by-app basis so it will only work in a given application after the app is restarted. Thus if you restart your computer it will immediately work in all apps.
Note on choosing a shortcut: I chose Command+Shift+M (Command is the ‘apple key’) because it matches the Command+M keyboard shortcut for Minimize/send-to-dock and will be easy for me to remember. You can set it to another combination if you want, but think carefully as you don’t want it to be something that any other applications use or you might have strange results.


Now a few months have passed since then and its time to move on. Move on to something other than WordPress events? No. Move on to smaller, more regular, less stressful WordPress events (and hopefully some posts here on my blog about other topics, we can still dream).
I nagged them early enough and got a slot to speak at 







