中键2shift_enter.ahk 440 B

1234567891011121314
  1. ; @Author : liuyuqi
  2. ; @Contact : liuyuqi.gov@msn.cn
  3. ; @Time : 2019/08/05 07:06:02
  4. ; @Version : 1.0
  5. ; @License : (C)Copyright 2019 liuyuqi.
  6. ; @Desc : 鼠标操作替换键盘操作: 鼠标中键替换 Shift+Enter 按键
  7. ; 需求,在 vscode 中按 Shift+Enter 来执行选中代码,但我希望鼠标中键执行选中代码。
  8. #IfWinActive, ahk_exe Code.exe
  9. MButton::+Enter
  10. Return
  11. #IfWinActive
  12. esc::ExitApp