Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
no5ix committed Oct 18, 2021
1 parent 554d1fe commit 54babc9
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions source/action.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -388,27 +388,27 @@ LAlt::LShift
#IF


#IfWinActive ahk_exe idea64.exe

MButton::
MouseGetPos, StartVarX, StartVarY
loop
{
sleep, 66
MouseGetPos, CheckVarX, CheckVarY
If ((StartVarX != CheckVarX) or (StartVarY != CheckVarY)) {
; tt("Y U MOVE MY MOUSE!?")
Click, Down Middle
sleep, 222
Click, Up Middle
return
}
else {
break
}
}
Click, 2
Send, !+s
return
; #IfWinActive ahk_exe idea64.exe

; MButton::
; MouseGetPos, StartVarX, StartVarY
; loop
; {
; sleep, 66
; MouseGetPos, CheckVarX, CheckVarY
; If ((StartVarX != CheckVarX) or (StartVarY != CheckVarY)) {
; ; tt("Y U MOVE MY MOUSE!?")
; Click, Down Middle
; sleep, 222
; Click, Up Middle
; return
; }
; else {
; break
; }
; }
; Click, 2
; Send, !+s
; return

#IF
; #IF

0 comments on commit 54babc9

Please sign in to comment.