Mouse Gestures


Mouse Gestures (MG) uses simple sequences of mouse movements to manipulate windows (but not in Win9X). Gestures are only recognised whilst the right button is pressed. The following table describes the components of a gesture.

LMove the mouse to the left WUMove the wheel up
RMove the mouse to the right WDMove the wheel down
UMove the mouse upwards LBClick the left button
DMove the mouse downwards MBClick the middle button
The wheel and/or middle button may not be recognised,
depending on your mouse's configuration.

As you move the mouse, a tooltip will be displayed containing the current sequence of movements. For example, if you formed a square by moving right, down, left and up, the tooltip will end up showing RDLU. The action associated with the gesture will be performed when the right button is released. If it is not recognised, the click is ignored. The gesture can be cancelled and the right click sent as usual by not moving the mouse for a little while before releasing the right button.

Scrolling
LBPage down
MBPage up
WUPage left
WDPage right
LAll the way left
RAll the way right
UAll the way up
DAll the way down
Scrolling will work on the window under the cursor.
Unfortunately, it does not work with all windows.
Active Window
LRClose
UDCenter
RLMaximise the width
DUMaximise the height
UR or LDMove to the top-left corner
RD or ULMove to the top-right corner
DR or LUMove to the bottom-left corner
RU or DLMove to the bottom-right corner
LLFill the left half of the desktop
RRFill the right half of the desktop
UUFill the top half of the desktop
DDFill the bottom half of the desktop
LLU or UULFill the top-left corner
RRU or UURFill the top-right corner
LLD or DDLFill the bottom-left corner
RRD or DDRFill the bottom-right corner
The first gesture will change the window as desired;
repeating it will restore the original position and size.
Keys
Win+GToggle gesture recognition
Shift+Win+GReload (update configuration)
Ctrl+Win+GEdit the script
Alt+Win+GExit

Since it's possible that other programs will use the right button for their own purposes, MG can ignore those windows, or even disable itself. Add the title of the window to the appropriate line in mg.ini.

MG also provides two other optional features. It can "debounce" the left button, where rapid consecutive clicks are ignored; and it can make the middle button act as a left double-click. Configure these options in mg.ini.

If you like the idea of these gestures, but not what they do, or would like to make your own, you can. Rather than using the stand-alone program mg.exe, download AutoHotkey and add the gestures and/or actions to mg.ahk.


Mouse Gestures v1.10 (221k).


Jason Hood.
17 July, 2009.


Main.