Say I've got several apps open and I want to keyboard shortcut to focus, or bring to the front, a particular window. Of course I know about alt+tab to cycle through windows, but it would be great to choose a specific window with a keyboard short cut.
WinActivate, [Full Window Title]
If the window title changes, you can either use the bundled Window Spy to grab the ID, or
to be able to match a window with only a partial title. (There's also a regex mode, if you're comfortable with it).
The maximising would be WinMaximise rather than activate. This does not focus it, though, so you'd need to use both to maximise and focus a window.
Ok, real world example time.
#\:: SetTitleMatchMode, 2 WinActivate, is currently return
That fire on winkey and \ (# being winkey), then focuses any window with "is currently" in the title. In this case, "User is currently status", for my IM windows.
I agree with Phoshi about AutohotKey. I'm not sure if you want to focus the same particular window each time, or be able to choose. If the latter, then I'd recommend iswitchw. Also made with AHK, you can assign a key (caps lock by default) to show a window picker, and type the first letter or two and hit enter to select it.
This free utility does just that: MLHotKey:
MLHotKey is assigns hotkeys to any top level application. This means that once you assign a hotkey to a window, you can switch back to that window using the hokey, which is (usually) faster than the alt-tab chain.
- Start MLHotKey
- Select the window from the list to which you would like to assign a hotkey.
- Put the cursor in the text box above the command buttons.
- Type the key combination that you would like to set. (e.g. Ctrl+Alt+I)
- Press Set and you're done!
The hotkeys will "stick" even after you close MLHotKey. You can also remove a window's hotkey by selecting the window and clicking "Remove". The refresh button refreshes the list of windows.
There are some windows that will not accept hotkeys (Outlook 98 is one), and not all key combinations will work.