Change between list view types with the scroll wheel
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: Change between list view types with the scroll wheel
Scrolling views in v23.00.0007 is a great along with its implementation, but it might be even better if you could control the cycling views depending on what the current or starting view is.
For example, if I'm in a thumbnail viewing mode, I'd like to be able to simply switch back and forth between it and a detail view. If my starting or current view is a list or detail view, I'd like to be able to simple cycle between list and detail. I think that would require 2 conditions in the tweak, something along the lines of; using SC get ("view") syntax, if current view is "0" or "2", then CycleListViewsByWheelProps==0,1|o. If current view is "6" then CycleListViewsByWheelProps=0,6|o. I think that would provide some additional flexibility and minimize cycling through views that you don't need to see.
For example, if I'm in a thumbnail viewing mode, I'd like to be able to simply switch back and forth between it and a detail view. If my starting or current view is a list or detail view, I'd like to be able to simple cycle between list and detail. I think that would require 2 conditions in the tweak, something along the lines of; using SC get ("view") syntax, if current view is "0" or "2", then CycleListViewsByWheelProps==0,1|o. If current view is "6" then CycleListViewsByWheelProps=0,6|o. I think that would provide some additional flexibility and minimize cycling through views that you don't need to see.
-
WirlyWirly
- Posts: 312
- Joined: 21 Oct 2020 23:33
- Location: XY 64-Bit | Win 10 @ 100% (3440x1440)
Re: Change between list view types with the scroll wheel
Not completely irrelevant, but is there a keyboard-shortcut\command in XY to do pretty much the same thing as this, but instead cycle through the options in View|Sort by?
I find myself jumping back and forth between a few different Sort by options (Name, Modified, Size, Ext) and it would be nice to have a way to just cycle through the ones I actually use, even if that column isn't being displayed (Such as the list, icons, and thumbnails views without headers).
Pretty much a "Next Sort" option like the "Next View" option that was added in 23.00.0007
I find myself jumping back and forth between a few different Sort by options (Name, Modified, Size, Ext) and it would be nice to have a way to just cycle through the ones I actually use, even if that column isn't being displayed (Such as the list, icons, and thumbnails views without headers).
Pretty much a "Next Sort" option like the "Next View" option that was added in 23.00.0007
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Change between list view types with the scroll wheel
Maybe I will add a view() command to scripting later. Then you can do even more crazy things.klownboy wrote: ↑03 Apr 2022 15:34 Scrolling views in v23.00.0007 is a great along with its implementation, but it might be even better if you could control the cycling views depending on what the current or starting view is.
For example, if I'm in a thumbnail viewing mode, I'd like to be able to simply switch back and forth between it and a detail view. If my starting or current view is a list or detail view, I'd like to be able to simple cycle between list and detail. I think that would require 2 conditions in the tweak, something along the lines of; using SC get ("view") syntax, if current view is "0" or "2", then CycleListViewsByWheelProps==0,1|o. If current view is "6" then CycleListViewsByWheelProps=0,6|o. I think that would provide some additional flexibility and minimize cycling through views that you don't need to see.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Change between list view types with the scroll wheel
Hm, not convinced.WirlyWirly wrote: ↑03 Apr 2022 17:54 Not completely irrelevant, but is there a keyboard-shortcut\command in XY to do pretty much the same thing as this, but instead cycle through the options in View|Sort by?
I find myself jumping back and forth between a few different Sort by options (Name, Modified, Size, Ext) and it would be nice to have a way to just cycle through the ones I actually use, even if that column isn't being displayed (Such as the list, icons, and thumbnails views without headers).
Pretty much a "Next Sort" option like the "Next View" option that was added in 23.00.0007
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: Change between list view types with the scroll wheel
Sounds good. Would it be possible to tie in the actual scroll with the SC "view()"? As an non-view example, take the scrolling of a toolbars, it would be nice if somehow the scroll event could be tied to scripting such that you could script an action if you are on toolbar "1", or a different action on toolbar "2". The same with scrolling views, the scrolling event would be somehow tied to scripting such that, as I mentioned earlier, if you scripted that you're on view "6" thumbnails, you could scrolling to view details. I'm not sure if that's even possible. (Edit: I say that because it's really a CEA. The scroll action itself would be what triggers the scripting action and not visa versa. And, I gathered from a different thread that you may not be presently interested in CEAs for scrolling situations). Thanks.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Change between list view types with the scroll wheel
IMO that'd be totally overkill. 
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: Change between list view types with the scroll wheel
No problem Don. I'm not sure about overkill. It's simply saying you could perform a specific action based on scroll position, but that's fine. There are so many ways of doing just about anything in XY.
Thanks for the new SC "view". With that users should be able to based on the current view (e.g., thumbnail view) set the scroll to one scroll setting (e.g., thumbnail<->detail)
and if the current view is a list view, set scrolling to detail<->list.
This could only be accomplished via a UDC or CTB (not by scrolling).
Edit: Don, your toggle last to a specified view should be very hand for users. I can do exactly as I stated above, if I'm in a thumbnail view, cycle from thumbnails<->detail, and if I'm in a list view cycle from list<->detail with only a one line script:
I figured initially I would have to set up a ternary conditional, but it isn't necessary.
Thanks for the new SC "view". With that users should be able to based on the current view (e.g., thumbnail view) set the scroll to one scroll setting (e.g., thumbnail<->detail)
and if the current view is a list view, set scrolling to detail<->list.
This could only be accomplished via a UDC or CTB (not by scrolling).
Edit: Don, your toggle last to a specified view should be very hand for users. I can do exactly as I stated above, if I'm in a thumbnail view, cycle from thumbnails<->detail, and if I'm in a list view cycle from list<->detail with only a one line script:
view(0, "t");I figured initially I would have to set up a ternary conditional, but it isn't necessary.
-
WirlyWirly
- Posts: 312
- Joined: 21 Oct 2020 23:33
- Location: XY 64-Bit | Win 10 @ 100% (3440x1440)
Re: Change between list view types with the scroll wheel
I updated XY just now and found that the tweak for specifying which views to cycle through was broken. Digging through the Beta thread I found that the setting had changed. It works fine, but I figured I'd post a link to the post that explains how to set the tweak. Since they're not documented, I'm sure it'll help out some future readers of this thread...
viewtopic.php?p=198069#p198069
viewtopic.php?p=198069#p198069
XYplorer Beta Club