the problematic script consists of two parts:
A. script for eliminating mouse double clicks
B. key mappings for some apps
Code: Select all
;---A---
*LButton::
{
if (A_PriorHotkey = A_ThisHotkey && A_TimeSincePriorHotkey < 100) {
return
}
Send "{Blind}{LButton down}"
KeyWait "Lbutton"
Send "{Blind}{LButton up}"
}
;---B---
#HotIf WinActive("ahk_class Chrome_WidgetWin_1")
or WinActive("ahk_class MozillaWindowClass")
or WinActive("ahk_class PX_WINDOW_CLASS")
or WinActive("ahk_class #32770")
<!g::
<!q:: Send "^+{Tab}"
<!e::
<!h:: Send "^{Tab}"
<!w:: Send "^w"
<!d:: Send "^t"
<!r:: Send "^r"
<!s:: Send "{F6}"
<!a:: Send "{Enter}"
<!Lbutton:: Mbutton
#HotIf
(e.g. double clicking a folder in a windows explorer does not work)
What can be the issue here?
I use latest version of AHK 2 on Windows 11.