Move through history with Scroll Wheel when Mouseover the Search text field

Have a suggestion for "Everything"? Please post it here.
Post Reply
koolestani
Posts: 49
Joined: Wed Feb 12, 2020 5:03 am

Move through history with Scroll Wheel when Mouseover the Search text field

Post by koolestani »

What the title says.
Basically the way it does with Filters when you have View > Filters Bar turned on.
Right now with Mouseover the Search text field, scroll wheel just scrolls through the search results, and there is plenty of screen real estate to scroll through them anyway.
void
Developer
Posts: 15367
Joined: Fri Oct 16, 2009 11:31 pm

Re: Move through history with Scroll Wheel when Mouseover the Search text field

Post by void »

I will consider an option to scroll through search history.
Thank you for the suggestion.

For now, please try Alt + mousewheel to scroll through navigation history.
koolestani
Posts: 49
Joined: Wed Feb 12, 2020 5:03 am

Re: Move through history with Scroll Wheel when Mouseover the Search text field

Post by koolestani »

Thanks David, I wasn't aware of the Alt+Wheel trick, it's quite handy. Always learning something new here!
adamantine
Posts: 214
Joined: Mon Jan 09, 2012 10:56 am

Re: Move through history with Scroll Wheel when Mouseover the Search text field

Post by adamantine »

many-many months ago i wrote an ahk-code that allows me to go back/forward in the history of ET
when i scroll down/up above the search-edit field

Code: Select all

#If MouseIsOverControl("Edit1") && (MouseIsOver("ahk_exe Everything.exe"))
WheelDown::
if a_timesincepriorhotkey > 100
count = 0
count++
If (count < 2)
{
PostMessage, 0x111, 40040,,, A
}
return
#If

#If MouseIsOverControl("Edit1") && (MouseIsOver("ahk_exe Everything.exe"))
WheelUp::
if a_timesincepriorhotkey > 100
count = 0
count++
If (count < 2)
{
PostMessage, 0x111, 40041,,, A
}
return
#If
Thy Grand Voidinesss
Posts: 606
Joined: Wed Jun 01, 2022 5:01 pm

Re: Move through history with Scroll Wheel when Mouseover the Search text field

Post by Thy Grand Voidinesss »

I think I also already suggested this scrolling feature [without having to use use Alt]
adamantine wrote: Mon Mar 13, 2023 10:26 pm many-many months ago i wrote an ahk-code that allows me to go back/forward in the history of ET
when i scroll down/up above the search-edit field
[...]
Are you sure it works? On which version?

I get

Code: Select all

Error:  Call to nonexistent function.

Specifically: MouseIsOverControl("Edit1") && (MouseIsOver("ahk_exe Everything.exe"))

	Line#
--->	001: #If,MouseIsOverControl("Edit1") && (MouseIsOver("ahk_exe Everything.exe"))
	002: Return
	003: if a_timesincepriorhotkey > 100
	004: count = 0
	005: count += 1
	006: if (count < 2)  
	007: {
	008: PostMessage,0x111,40040,,,A
adamantine
Posts: 214
Joined: Mon Jan 09, 2012 10:56 am

Re: Move through history with Scroll Wheel when Mouseover the Search text field

Post by adamantine »

Are you sure it works?
yes, i use it nearly every day (sometimes - dozens of times a day)
On which version?
et:      1.5.0.1319a (x86)
ahk:    1.1.28.2

 
(in my main huge ahk-script) (several thousands of lines) i also have the following codes:

Code: Select all

MouseIsOverControl(classNN) {
    MouseGetPos,,,, currentClassNN
    return InStr(classNN, currentClassNN)
}

Code: Select all

MouseIsOver(WinTitle)
{
MouseGetPos,,, Win
Return WinExist(WinTitle . " ahk_id " . Win)
return
}
Post Reply