My favorite mouse gestures made in autohotkey. The windows for the following process names are excluded: KSP.exe (Kerbal Space Program) and mstsc.exe (Remote Desktop) Right mouse button starts the gesture:
- Down-Right: Close tab in firefox or close application window
- Down-Left: Restore tab in firefox
- Up-Right: Switch to the next tab in firefox
- Up-Left: Switch to the previous tab in firefox
- Right-Up: Duplicate current tab in firefox
- Down-Up: Reload current tab in firefox
Holding the right mouse button and scrolling up or down will scroll 6 times faster than normal. Also as soon you scroll while holding the right mouse button will abort any guesture.
Also some hotkeys, that move and resize the active window to the...
- Win + Ins = top left of the screen
- Win + Home = top half of the screen
- Win + PageUp = top right of the screen
- Win + PageDown = bottom right of the screen
- Win + End = bottom half of the screen
- Win + Del = bottom left of the screen
HoverScroll.ahk is from this thread in the autohotkey.com forums: http://www.autohotkey.com/board/topic/99405-hoverscroll-verticalhorizontal-scroll-without-focus-scrollwheel-acceleration/ Thanks Scoox
The Mouse_Gesture function was edited but taken from here: http://www.autohotkey.com/board/topic/86335-diy-mouse-gesture-script/ Thanks strobo
Since I haven't found any other license attached to the code taken from the other authors, I release this script under the same license as autohotkey itself. GNU GENERAL PUBLIC LICENSE version 2 Link to the license: http://ahkscript.org/docs/license.htm