Skip to content

Commit

Permalink
避免esc退出微信/泡泡
Browse files Browse the repository at this point in the history
  • Loading branch information
no5ix committed Feb 22, 2022
1 parent 17a8334 commit b7b693c
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions source/action.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ SelectCurrentWord() {
}




SUB_TEMP_RBUTTON:
ClickUpIfLbDown()
MouseClick, Right
Expand All @@ -409,12 +411,21 @@ LWin::LCtrl
LShift::LAlt
LAlt::LShift

#IF

#If WinActive("ahk_exe MyPopo.exe") or WinActive("ahk_exe WeChat.exe")
; #IfWinActive ahk_exe MyPopo.exe
; #IfWinActive ahk_exe WeChat.exe

CapsLock::
return

; #IfWinActive ahk_exe idea64.exe
Esc::
return

; MButton::

#IfWinActive ahk_exe idea64.exe

MButton::
; MouseGetPos, StartVarX, StartVarY
; loop
; {
Expand All @@ -431,8 +442,6 @@ LAlt::LShift
; break
; }
; }
; Click, 2
; Send, !+s
; return

; #IF
Click, 2
Send, !+s
return

0 comments on commit b7b693c

Please sign in to comment.