;------------------ ; Created by GraZC ;------------------ #IfWinActive, World of Warcraft ; Disengage keybinding DisKey = z ; Blink Forward !S:: +2:: { ; Get mouse position before moving it MouseGetPos, OldX, OldY ; Your resolution / 2 MouseMove A_ScreenWidth / 2, A_ScreenHeight / 2 ; Look Behind MouseClick, Right, , , , , D MouseClickDrag, Right, 0, 0, 800, 0, 1, R ; Cast Disengage Send %DisKey% MouseClick, Right, , , , , U ; Deley for disengage to work Sleep 500 ; Puts mouse back MouseMove OldX, OldY ; Uncomment the 3 lines if you want ; to carry on looking at the original angle ; you were when you blinked ;MouseClick, Right, , , , , D ;MouseClickDrag, Right, 0, 0, 800, 0, 1, R ;MouseClick, Right, , , , , U } Return ; Blink Right --> !D:: +3:: { MouseGetPos, OldX, OldY MouseMove A_ScreenWidth / 2, A_ScreenHeight / 2 MouseClick, Right, , , , , D MouseClickDrag, Right, 0, 0, 400, 0, 1, R Send %DisKey% MouseClick, Right, , , , , U Sleep 500 MouseMove OldX, OldY } Return ; Blink Left <-- !A:: +1:: { MouseGetPos, OldX, OldY MouseMove A_ScreenWidth / 2, A_ScreenHeight / 2 MouseClick, Right, , , , , D MouseClickDrag, Right, 0, 0, -400, 0, 1, R Send %DisKey% MouseClick, Right, , , , , U Sleep 500 MouseMove OldX, OldY } Return ; Blink !W:: { Send %DisKey% } Return