Aug 27, '12 07:30:00AM • Contributed by: robleach
This hint uses two third-party preference panes (Witch and Corner Click) and an AppleScript.
First, make sure that the hot corner you want to use for Witch is not set in System Preferences.
Install Witch and open it in System Preferences.
- Enable using the checkbox at the top.
- Under Triggers, make sure the shortcut for All applications non-minimized / Forward is set as option-tab.
- Under Behavior, show list right away so the hot-corner response is immediate, and un-check Releasing all modifier keys activates the selected window.
- (Optional) Under Appearance, I maximized the size sliders, selected Show mini window previews if possible", and selected Pop up a preview... after 0.1 second delay.
- Under Settings, check Corner Click is enabled.
- Under Actions, select the corner you want to use. Click the + button, set the Trigger to Hover, and for the Action, select Run Applescript, and choose the following script. You'll have to paste this script into the Script Editor and save as a script file:
tell application "System Events" key down option keystroke tab --delay 2 try repeat while (value of seventh attribute of process "witchdaemon" is true) delay 0.1 end repeat on error errStr number errorNumber key up option error errStr number errorNumber end try key up option end tellThis script basically "holds down the Option key" (and taps the Tab key) and keeps the tab down until you've made your window selection.
I may be tweaking my settings as time goes by, but this to me is much better than Mission Control or the "pplication Windows hot corner simply because I can select among all windows on the current desktop quickly using a hot corner and a single click. No more delicate window slice navigation and space bar nonsense.
