scrollspeed

Discussion related to "Everything" 1.5 Alpha.
Post Reply
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

scrollspeed

Post by NotNull »

Reading the SumatraPDF changelog I came across:
faster scrolling with mouse wheel when cursor over scrollbar
And although it doesn't seem to work (yet/here) as advertised, I like the idea of an option to (occasionally) scroll faster, beside dragging the scroll-indicator scroll box around. Or changing the system-wide scroll speed.


Does Everything have an option for that?
therube
Posts: 5003
Joined: Thu Sep 03, 2009 6:48 pm

Re: scrollspeed

Post by therube »

Not that I knew about that feature, nor do I know what it is supposed to do...

It seems that if you scroll through a document, using the "scrollbar"
either by holding down the (left) mouse button
or by clicking & holding within the scrollbar
or by using the mousewheel
the screen does not "draw"
until scrolling is "stopped".

Not exactly stopped, but it is less likely to draw during those times.

And compare that do doing the same when focus is within the document.


Some video players do similar when scrolling through a video clip, where you don't see any of the intervening frames during that period of time.


(Much more apparent on a LONG document/
This might work, https://www.milwaukeetool.com/-/media/P ... 13_Web.pdf.
[The version I have, is 162 MB, 47 pages.])


In Everything, dragging the scrollbar, & much like hitting Home or End, is the closest you'll come to that effect.
(I'd much rather have a FAYT, Find As You Type-like, feature in Everything.)
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: scrollspeed

Post by NotNull »

therube wrote: Thu May 26, 2022 3:51 pm (I'd much rather have a FAYT, Find As You Type-like, feature in Everything.)
That is already implemented: focus the resultlist and start typing (not too slow; just like in File Explorer)

Much more apparent on a LONG document/
I tested with the Directory Opus PDF manual; 1300+ pages, 14 MB
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: scrollspeed

Post by void »

Currently, Everything doesn't have an option to adjust the mouse wheel scroll speed.

Everything will use the system settings.
Typically 3 lines per scroll.

I'll add an option to override the system settings.
Currently all the modifier keys are in use, so making this a toggle by default will be difficult.
I'll add an action for scrolling a page at a time in the next alpha update.
You could set shift + mouse wheel to this new action.

Alt + mouse wheel in Everything 1.4 would only scroll one line at a time (opposite of what you want)

Do you use the middle mouse button at all?
I find this gives a little bit more control.
wason92
Posts: 8
Joined: Tue May 10, 2022 1:35 pm

Re: scrollspeed

Post by wason92 »

You could do it using AHK, which would give you a bit more scope to find the speed you like

Code: Select all

#WheelUp::Send {WheelUp 2}
#WheelDown::Send {WheelDown 2}
so holding win and moving the scroll wheel down once will send wheel down 2 times or for just in everything

Code: Select all

#IfWinActive, ahk_class EVERYTHING
	#WheelUp::Send {WheelUp 2}
	#WheelDown::Send {WheelDown 2}
#IfWinActive
You can also do something like this, which will scroll x10 if the mouse is over the column header

Code: Select all

#IfWinActive, ahk_class EVERYTHING		;only when everything is the active window
	WheelUp::				;on action wheel up
		MouseGetPos, vx, vy, vw, vc	;pull information based on mouse, vc being the name of the control under the mouse
		If (vc = "SysHeader321") {	;SysHeader321 the the control with the the column names
			Send {WheelUp 10}	;send wheel up 10 times
		} else {			;if the mouse isn't over sysheader321
			Send {WheelUp}		;send wheelup as normal
		}					
		return				
#IfWinActive					
there's a few other controls you could use like, EVERYTHING_MENUBAR1, Edit1, EVERYTHING_PREVIEW1, msctls_statusbar321

Here's a usefull post with functions to get check if the mouse is over various window elements, not just controls you can get with MouseGetPos
https://www.autohotkey.com/board/topic/ ... een-point/

https://www.autohotkey.com/
https://www.autohotkey.com/docs/Hotkeys.htm
https://www.autohotkey.com/docs/command ... Down_a_Key
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: scrollspeed

Post by NotNull »

void wrote: Fri May 27, 2022 10:08 am Currently, Everything doesn't have an option to adjust the mouse wheel scroll speed.
The idea was to keep scrolling as-is, but to add a "turbo-scroll-mode" under certain circumstances.
Like: when the mouse is over the resultlist scrollbar, using the scrollwheel scrolls 1 page or 20 lines (or similar) up/down

It just seems like a cool feature; don't know if I ever need it. But other people might.
(In my opinion Everything does not need a separate regular scroll setting other than the system-wide one)


wason92 wrote: Fri May 27, 2022 2:36 pm You can also do something like this, which will scroll x10 if the mouse is over the column header
Taht works well. Nice!!
To support Everything 1.5 and Everything named instances too, I changed
#IfWinActive, ahk_class EVERYTHING
to

Code: Select all

SetTitleMatchMode, RegEx
#IfWinActive, ahk_class ^EVERYTHING
therube
Posts: 5003
Joined: Thu Sep 03, 2009 6:48 pm

Re: scrollspeed

Post by therube »

(
(I'd much rather have a FAYT, Find As You Type-like, feature in Everything.)
I'm was thinking more along the lines of, jump in the file list.
Or maybe, search for string in results list.
)
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: scrollspeed

Post by void »

A find within results feature is still on my TODO list.
The find dialog will highly likely support regex.
I will consider / to toggle regex in the "jump to" search.

I also have a "bookmark result" feature on my TODO list, the plan is something like:
Ctrl + F4 = add result to the Result bookmarks.
F4 = next result in bookmarks.
Shift + F4 = previous result in bookmarks.



Thank you for the suggestions.
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: scrollspeed

Post by void »

Everything 1.5.0.1316a adds a wheel_scroll_lines ini setting.


Everything 1.5.0.1316a adds "Result List | Scroll Page Down" and "Result List | Scroll Page Up" commands for scrolling one page at a time.
You can bind keyboard shortcuts to these under Tools -> Options -> Keyboard.
Post Reply