WARNING: This is old thread. It is continued here.
[module] Mouse gestures by Learning one
- no globals
- easy to use, understand, and implement in any script
- compatible with both AHK_L and AHK Basic
Download MouseGestures.ahk
Basic example (other examples are in MouseGestures.ahk)
MButton::MG_Recognize() ; recognizes performed mouse gesture and executes appropriate function MG_R() { ; mouse gesture: Right MsgBox,,, %A_ThisFunc%, 1 ; specify your action here } MG_RD() { ; mouse gesture: Right, Down MsgBox,,, %A_ThisFunc%, 1 ; specify your action here } MG_RDL() { ; mouse gesture: Right, Down, Left MsgBox,,, %A_ThisFunc%, 1 ; specify your action here } ; etc.