Coming out out from this thread of mine https://www.autohotkey.com/boards/viewtopic.php?f=76&t=112961&p=503495 and as summarized in this post https://www.autohotkey.com/boards/viewtopic.php?f=76&t=112961&p=503583#p503583:
It seems that Middle Mouse Button is somehow unable to execute a script [from the aforementioned topic] like this
Code: Select all
; script author: mikeyww
#Requires AutoHotkey v1.1.33
MButton::
KeyWait MButton, T1.1 ; Wait for button to be released within 1.1 seconds
If ErrorLevel { ; If not released,
Send ^a ; send this key sequence,
SoundBeep 1500 ; and sound a beep;
} Else Click ; otherwise, click instead
Return
Code: Select all
; script supervisor: boiler
; selection of files with Middle Mouse Button:
#If WinActive("ahk_exe Mp3tag.exe") && mouseOver("ahk_exe Mp3tag.exe", "SysListView321")
MButton Up::
Sleep, 88
Send ^{LButton}
SoundBeep, 300
Return
mouseOver(winTitle, ctl)
{
MouseGetPos,,, hWnd, overCtl
Return WinExist(winTitle) && overCtl = ctl
}
That is: MMB does not work with code from the first example if it happens to be of either Logitech Mouse MX Anywhere 2 Business Travel/ Logitech Mouse MX Anywhere 2 For Amazon, Logitech Mouse MX Anywhere 2S or Logitech Mouse MX Anywhere 3
Also, a much earlier [in this https://www.autohotkey.com/boards/viewtopic.php?f=76&t=104945 topic], I apparently encountered the same issue with this code
Code: Select all
MButton::
Send, {c down}
KeyWait, MButton, T0.5
if ErrorLevel
Send, {c Up}{v Down}
KeyWait, MButton
Send, {v Up}{v Up}
return
So my question is: did anyone experience similar issue with any button of Logitech Mouse MX device or any other Logitech mouse; or any other mouse for that matter?
[I am using AutoHotkey 1.1.36.02 on Windows 10 Enterprise 20H2 19042.746 x64]