Page 1 of 3

Change between list view types with the scroll wheel

Posted: 09 Jun 2009 15:38
by phitsc
Is quickly changing between the different list view types with the scroll wheel already possible? (like Vista's File Explorer or QTTabBar do it with the Ctrl key pressed). I see Ctrl + Scroll wheel changes the font size in XYplorer.

Re: Change between list view types with the scroll wheel

Posted: 09 Jun 2009 15:48
by admin
What happens with thumbnails when you are wheeling along?

Re: Change between list view types with the scroll wheel

Posted: 09 Jun 2009 16:08
by phitsc
admin wrote:What happens with thumbnails when you are wheeling along?
They get gradually resized. The view changes from Tiles to Details to List to Small Icons, then gradually up to Extra Large Icons. With the View button in the tool bar you can choose between Small Icons, Medium Icons, Large Icons and Extra Large Icons for the icons views. Ctrl + Mouse wheel is as if you'd move the slider you can see on the left.
Vista Explorer Views.png

Re: Change between list view types with the scroll wheel

Posted: 09 Jun 2009 22:28
by admin
phitsc wrote:
admin wrote:What happens with thumbnails when you are wheeling along?
They get gradually resized. The view changes from Tiles to Details to List to Small Icons, then gradually up to Extra Large Icons. With the View button in the tool bar you can choose between Small Icons, Medium Icons, Large Icons and Extra Large Icons for the icons views. Ctrl + Mouse wheel is as if you'd move the slider you can see on the left.
Vista Explorer Views.png
This can only work if the thumbnails have been cached before.

Re: Change between list view types with the scroll wheel

Posted: 10 Jun 2009 11:36
by phitsc
admin wrote:
phitsc wrote:
admin wrote:What happens with thumbnails when you are wheeling along?
They get gradually resized. The view changes from Tiles to Details to List to Small Icons, then gradually up to Extra Large Icons. With the View button in the tool bar you can choose between Small Icons, Medium Icons, Large Icons and Extra Large Icons for the icons views. Ctrl + Mouse wheel is as if you'd move the slider you can see on the left.
Vista Explorer Views.png
This can only work if the thumbnails have been cached before.
Would that also be the case if the scroll wheel would just cycle through the available views, i.e not do gradual resizing of icons like Vista's FE does?

Re: Change between list view types with the scroll wheel

Posted: 10 Jun 2009 11:50
by admin
phitsc wrote:
admin wrote:
phitsc wrote:
admin wrote:What happens with thumbnails when you are wheeling along?
They get gradually resized. The view changes from Tiles to Details to List to Small Icons, then gradually up to Extra Large Icons. With the View button in the tool bar you can choose between Small Icons, Medium Icons, Large Icons and Extra Large Icons for the icons views. Ctrl + Mouse wheel is as if you'd move the slider you can see on the left.
Vista Explorer Views.png
This can only work if the thumbnails have been cached before.
Would that also be the case if the scroll wheel would just cycle through the available views, i.e not do gradual resizing of icons like Vista's FE does?
Yes.

Re: Change between list view types with the scroll wheel

Posted: 03 Feb 2017 04:50
by Luigi
How can I cycle through views with my mouse wheel?

I can change font size of UI in Configuration.

Re: Change between list view types with the scroll wheel

Posted: 03 Feb 2017 07:57
by highend
You can't

Re: Change between list view types with the scroll wheel

Posted: 04 Feb 2017 21:04
by Luigi
Not even with scripts or similar?

Re: Change between list view types with the scroll wheel

Posted: 04 Feb 2017 21:24
by highend
Not from inside XY. You'd need an external application (e.g. AutoHotkey / AutoIt) that recognizes
when the mouse wheel + e.g. ALT as a modifier is used upon XY's window which sends an
appropriate script to it:
- Find out which view is currently active
- Depending on that value and a list of available modes -> Choose the next / previous depending
on scroll direction

Re: Change between list view types with the scroll wheel

Posted: 16 Feb 2017 10:09
by Luigi
So you can't change View Type with scripts?

Re: Change between list view types with the scroll wheel

Posted: 16 Feb 2017 10:19
by highend
? Sure you can. But not by scrolling with the mouse wheel (at least not without writing an external application)...

Re: Change between list view types with the scroll wheel

Posted: 06 May 2017 09:26
by Display
What would be the correct-bestest possible way to implement View/Thumbnails scrolling?

Right now I'm using AutoHotKey

Code: Select all

#IfWinActive ahk_class ThunderRT6FormDC	; XYplorer window
^WheelUp::Send {F12}
^WheelDown::Send {F11}
And inside XYplorer I've bound keys F12 and F11 to commands which trigger a script to cycle up and down the views respectively.

Code: Select all

"Views Larger : viewScrollUp"
	$CurView = (get("view"));
	if ($CurView == 0) {#306;}
	elseif ($CurView == 4) {#307;}
	elseif ($CurView == 5) {#308;}

"Views Smaller : viewScrollDown"
	$CurView = (get("view"));
	if ($CurView == 4) {#302;}
	elseif ($CurView == 5) {#306;}
	elseif ($CurView == 6) {#307;}
This works great however, if I scroll too fast and the Thumbnails haven't been created it will generate an error:
"A User-Defined Command (#1404) is not allowed to call itself."

So.. is there a better, more efficient way, to do this?

Re: Change between list view types with the scroll wheel

Posted: 06 May 2017 10:46
by highend
Nope. the .dat2 file for a specific folder with a specific thumbs resolution is created before the .dbits file. And
the XYthumbs.txt gets the necessary entry first. Unfortunately the .dat2 file is in binary format so you can't just
read it and compare it's file entries with what image files exists in the destination directory. In other words:
There is no reliable way to find out if all thumbnails have been already generated...

I've asked Don for a new script command that generates thumbnails and ofc this could be enhanced with returning
if thumbnails are already generated but this hasn't been implemented yet

Re: Change between list view types with the scroll wheel

Posted: 06 May 2017 11:54
by Display
Ahh I think I understand now. I just thought perhaps my "views" script was badly made!
For now I guess I'll have to run a timer to see if the error message dialog appears (and then instantly close it!)

Code: Select all

SetTitleMatchMode RegEx
SetTimer, XYdialog, 100
return

XYdialog:
IfWinActive, ^XYplorer .* ahk_class #32770, .*itself.$
ControlSend, Button1, {Space}, A
return
Well, I definitely look forward to that new thumbs script command in the future!