CTRL + LMB
MMB
And if its not possible then can this be implemented; and in the meanwhile maybe someone already has a tested AHK script that does this without issues?
CTRL + LMB
MMB
Code: Select all
#IfWinActive,AHK_class EVERYTHING
$MButton::
MouseGetPos,,,,Control
If (Control = "SysListView321")
{
Send,{LCtrl Down}{LButton Down}
Keywait,% A_ThisHotkey
Send,{LCtrl Up}{LButton Up}
Return
}
Else
{
Send,{MButton Down}
Keywait,% A_ThisHotkey
Send,{MButton Up}
}
Return
Thank you, but this does not work
Code: Select all
#If WinActive("ahk_exe Everything.exe") && mouseOver("ahk_exe Everything.exe", "SysListView321")
MButton Up::
Send ^{LButton}
Return
mouseOver(winTitle, ctl)
{
If !WinExist(winTitle)
Return false
MouseGetPos,,, hWnd, overCtl
Return overCtl = ctl
}
ProcessExist(exeName)
{
Process, Exist, %ExeName%
Return ErrorLevel
}
Never used it and never will as it is plain unusable- its either too slow or too quick; overall being chaotic. The mouse wheel and its side scroll is all I need. And apparently I must have already turned auto scroll off in Everything a long time ago, as I do not experience it nor recall it
Now that is something I have been struggling to overcome multiple times for various programs - but at least in case of Everything this will not be a problem for me, as I always use it with a maximized window [thus whenever I need something from it/ switch to it I automatically apply focus to it]
Code: Select all
#If WinActive("ahk_class EVERYTHING") && mouseOver("ahk_class EVERYTHING", "SysListView321")
MButton Up::
Send ^{LButton}
Return
mouseOver(winTitle, ctl)
{
If !WinExist(winTitle)
Return false
MouseGetPos,,, hWnd, overCtl
Return overCtl = ctl
}
ProcessExist(exeName)
{
Process, Exist, %ExeName%
Return ErrorLevel
}
Code: Select all
#If WinActive("ahk_class EVERYTHING_(1.5a)") && mouseOver("ahk_class EVERYTHING_(1.5a)", "SysListView321")
MButton Up::
Send ^{LButton}
Return
mouseOver(winTitle, ctl)
{
If !WinExist(winTitle)
Return false
MouseGetPos,,, hWnd, overCtl
Return overCtl = ctl
}
Strange,works fine hereThy Grand Voidinesss wrote: ↑Mon May 06, 2024 8:10 pm It does not work i.e. nothing gets selected
And yes, all of my AHK scripts are being run as Administrator; and no, during tests I have nothing that could interfere with this one
This works for me too (I have removed the Alpha extension).void wrote: ↑Tue May 07, 2024 8:03 am The following worked for me:
Code: Select all
#If WinActive("ahk_class EVERYTHING") && mouseOver("ahk_class EVERYTHING", "SysListView321") MButton Up:: Send ^{LButton} Return mouseOver(winTitle, ctl) { If !WinExist(winTitle) Return false MouseGetPos,,, hWnd, overCtl Return overCtl = ctl }
Code: Select all
#If WinActive("ahk_class EVERYTHING_(1.5a)") && Focus_is_on_Everything ("ahk_class EVERYTHING_(1.5a)", "SysListView321")
MButton Up::
Send ^{LButton}
Sleep 123
Return
Focus_is_on_Everything(winTitle, ctl)
{
If !WinExist(winTitle)
Return false
MouseGetPos,,, hWnd, overCtl
Return overCtl = ctl
}
And that is because using workaround in form of AutoHotkey [or any other script program for that matter] is a no-go for most users