Views - Toolbar button redefined
Views - Toolbar button redefined
I would be happy if this button would be redefined so that:
Left click toggles between the last two different views used
Right click - no changes here - leave as is
Is it only me that wants to toggle between a detail view and a thumbnail view all the time when working in the image folders?
Left click toggles between the last two different views used
Right click - no changes here - leave as is
Is it only me that wants to toggle between a detail view and a thumbnail view all the time when working in the image folders?
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 64806
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Views - Toolbar button redefined
Me too. Therefore there is a special button to toggle between Details and Thumbs #1.Borut wrote:Is it only me that wants to toggle between a detail view and a thumbnail view all the time when working in the image folders?
FAQ | XY News RSS | XY X
Re: Views - Toolbar button redefined
Ooops, haven't noticed it before, sorry.
Thanks! That does the job for me.
Thanks! That does the job for me.
Win 10 Pro 64bit
Re: Views - Toolbar button redefined
I'm relatively new to XYplorer, and have been impressed with these little details. Lots of smart little features are built in as "Easter eggs." For example typing "> report" in the address bar and pressing enter, will highlight all the occurrences of [report] in any of the file/folder names.... Good stuff.

ste(phen|ve) kunkel
Re: Views - Toolbar button redefined
maybe one can advice me something to be happy too, as i mostly use Large Icons - Thumbs #2 and there is no toggle for that.
besides, i find this 3 buttons kinda obsolete, 'cause whatever View one has, if clicked on it's option once more, it anyways switches to Details.
besides, i find this 3 buttons kinda obsolete, 'cause whatever View one has, if clicked on it's option once more, it anyways switches to Details.
Win 7 SP1 x64 100% 1366x768|1900x1080
-
FluxTorpedoe
- Posts: 904
- Joined: 05 Oct 2011 13:15
Re: Views - Toolbar button redefined
Hi'
Whatever the View you're in, it switches to Thumbs #2, and from there on, toggles between Large Icons and Thumbs #2.
Hope this helps,
Flux
Here's a simple button you could use:eil wrote:i mostly use Large Icons - Thumbs #2 and there is no toggle for that.
Code: Select all
if get("View") != 5 { // If not Thumbnails#2
// Display Thumbnails#2
#307;
} else {
// Display Large Icons
#309
}Hope this helps,
Flux
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Views - Toolbar button redefined
FluxTorpedoe, just what i needed, thanks! 
Win 7 SP1 x64 100% 1366x768|1900x1080
Re: Views - Toolbar button redefined
FluxTorpedoe
Hello. I would change the script to switch type List-Restore Folder View
But switching between turns List-Details
Help correct the script.
Thanks. Have a nice day!
Hello. I would change the script to switch type List-Restore Folder View
Code: Select all
if get("View") != 5 { // If not List
// Display List
#304;
} else {
// Display Restore Folder View
#478
}Help correct the script.
Thanks. Have a nice day!
-
FluxTorpedoe
- Posts: 904
- Joined: 05 Oct 2011 13:15
Re: Views - Toolbar button redefined
Hi'
In the first line, to determine "If not List" (or "If not WhateverView"), you must know which number (2, 5, etc.) corresponds to which view.
TIP: (one way is to) type in the address bar "::echo get(View);" , you'll get a message with the number of the current view (e.g. "2" for List View).
Hope this helps
Flux
You were nearly there. In the first line, you just have to change the 5 by a 2.Slavaon wrote:I would change the script to switch type List-Restore Folder View
Code: Select all
if get("View") != 2 { // If not List
// Display List
#304;
} else {
// Display Restore Folder View
#478
}TIP: (one way is to) type in the address bar "::echo get(View);" , you'll get a message with the number of the current view (e.g. "2" for List View).
Hope this helps
Flux
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: Views - Toolbar button redefined
...another way is to look into Help, for command get():FluxTorpedoe wrote:Hi'You were nearly there. In the first line, you just have to change the 5 by a 2.Slavaon wrote:I would change the script to switch type List-Restore Folder ViewIn the first line, to determine "If not List" (or "If not WhateverView"), you must know which number (2, 5, etc.) corresponds to which view.Code: Select all
if get("View") != 2 { // If not List // Display List #304; } else { // Display Restore Folder View #478 }
TIP: (one way is to) type in the address bar "::echo get(View);" , you'll get a message with the number of the current view (e.g. "2" for List View).
Hope this helps![]()
Flux
"View", [pane=a]
Returns the index of the current list view.
For the optional "pane" argument see "BytesSelected" above.
Possible returns and their meanings:
0 = Details
1 = Details with Thumbnails
2 = List
3 = Small Icons
4 = Thumbnails #1
5 = Thumbnails #2
6 = Thumbnails #3
Re: Views - Toolbar button redefined
FluxTorpedoe
PeterH
Thank you. Works fine
I'm a newbie and don't know much.
PeterH
Thank you. Works fine
I'm a newbie and don't know much.
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: Views - Toolbar button redefined
So I think XY Help is just made for youSlavaon wrote:FluxTorpedoe
PeterH
Thank you. Works fine![]()
I'm a newbie and don't know much.
No - just fun!
When scripting the XY Help is something I always use!
(And not only for scripting
I'd recommend this for every XY user! Really helpful!
(And neccessary...)
XYplorer Beta Club