1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

右クリック押しながら左クリックでブラウザのタブを閉じたい(AutoHotKey)

Posted at

左クリックが効かなくなる問題が起きた

RButton + LButton = Keystroke - Ask for Help - AutoHotkey Community

#InstallMouseHook
$RButton::
Send {RButton down}   ;hold it down
KeyWait, RButton          ;wait for user to release it
Send {RButton Up}        ;release it
return

これ追記すればいいよって書いてあったので

#InstallMouseHook
$RButton::
Send {RButton down}   ;hold it down
KeyWait, RButton          ;wait for user to release it
Send {RButton Up}        ;release it
return

#IfWinActive ahk_exe chrome.exe
RButton & LButton::^w
#IfWinActive

こんな感じでchromeだけ反応するようにした。
めっちゃ快適!!!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?