Raise/lower/move/resize windows with mouse + modifier keys

I'm a longtime FVWM user over on the Linux side and have developed some keyboard + mouse shortcuts that I find very helpful in managing windows. Specifically:

  • left click + command + shift = send to back if frontmost, otherwise raise to front
  • right click + command + shift = maximize window vertically (horizontal size unchanged)
  • left+right chord + command + shift = grab window and move it
  • left+right chord + command + control + shift = resize (drag pointer to side or corner and move that to resize)

For all of these, "click" means click anywhere in the window.

Is there Mac software that will let me set this up? I'm on 10.6.

Edit

To clarify, the move/resize operations should begin on mouse-down and end on mouse-up.


Solution 1:

Easy Move+Resize is a great little tool that does exactly what it says on the tin.

Usage

Easy Move+Resize is based on behavior found in many X11/Linux window managers

Cmd + Ctrl + Left Mouse anywhere inside a window, then drag to move
Cmd + Ctrl + Right Mouse anywhere inside a window, then drag to resize

This thing was a breath of fresh air after spending too much time trying to figure out how to get the latest version of BetterTouchTool to do what I wanted. It's also not dependent on SIMBL, which is nice.

My only complaint is that the key bindings are not configurable. I'd prefer to use ⌘ Cmd+⌥ Opt+⌃ Ctrl+Left Click for resizing, since clicking and dragging with two fingers on a trackpad is a bit awkward. But hey, it's open source, and as always, there's an issue for that.

Solution 2:

Not entirely what you are looking for, but you can drag and resize the window without bring it to the foreground. Command-drag on the menu bar (or an empty space on the toolbar) to move the window and command-drag on the resize handle to resize it.

Command-clicking on window elements may allow you to use them while the window stays in the back, but that works inconsistently, iirc.