123456789101112131415161718192021 |
- ; @Author : liuyuqi
- ; @Contact : liuyuqi.gov@msn.cn
- ; @Time : 2019/08/05 07:06:02
- ; @Version : 1.0
- ; @License : (C)Copyright 2019 liuyuqi.
- ; @Desc : 电子教鞭 F9 改为鼠标右键左滑
- ;右键触发
- RButton::
- minGap = 30 ;
- MouseGetPos xpos1,ypos1
- Keywait, RButton, U
- MouseGetPos xpos2, ypos2
- if (xpos2-xpos1 > minGap and abs(ypos1-ypos2)<minGap) ; right
- send, {F9}
- else
- send, {RButton}
- Return
- esc::ExitApp
|