1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
; 鼠标往下移动 !^down:: mousemove,0,+8,0,R return
; 鼠标往上移动 !^up:: mousemove,0,-8,0,R return
; 鼠标往左移动 !^left:: mousemove,-8,0,0,R return
; 鼠标往右移动 !^right:: mousemove,+8,0,0,R return
; --------------鼠标点击
; 鼠标左击 !^h:: ; MouseClick, left,,, 1, 0, D ; Hold down the left mouse button. MouseGetPos, x, y MouseClick, left, %x%, %y% return
; 鼠标右击 !^l:: MouseGetPos, x, y ; MouseClick, right, %x%, %y% ; ButtonRight ; MouseClick, right,,, 1, 0, D ; Hold down the right mouse button. MouseClick, right, %x%, %y% return
|