Toolbar buttons for "sort by name" & "sort by modified date"
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Toolbar buttons for "sort by name" & "sort by modified date"
I switch between using "sort by name" and "sort by modified date" a lot (ascending for both). So I would like to see toolbar buttons added for them like the ones for the different view modes (in which the button stay pressed down to help indicate which mode is in use). I know there is the current drop down button for this but I don't prefer it--because it is a slower way of doing things. Any chance for this to be made?
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: Toolbar buttons for "sort by name" & "sort by modified date"
You're free to make such TB buttons yourself as per function IDs below:
Code: Select all
View / Current Tab / Sort By / Name #321
View / Current Tab / Sort By / Modified #326Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
Minimax
- Posts: 93
- Joined: 12 Dec 2009 15:56
- Location: Switzerland
Re: Toolbar buttons for "sort by name" & "sort by modified date"
Below are my shortcuts. The IDs can be used for Customized Toolbar buttons.
To see the attached files, you need to log into the forum.
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
i know we can make custom buttons, but the problem with them is that they don't stay pressed to indicate status like the real buttons do.
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: Toolbar buttons for "sort by name" & "sort by modified date"
Visual feedback is provided by the list with its light grey fill of the column by which sorting is done. As for CTBs not staying pressed -- it's not a bug, it's not yet possible to define such states.ghost zero wrote:i know we can make custom buttons, but the problem with them is that they don't stay pressed to indicate status like the real buttons do.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
part of my request is to have that stay-pressed look on the button. it also helps this concept stay consisent with the "views" toolbar buttons.
-
admin
- Site Admin
- Posts: 66362
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Toolbar buttons for "sort by name" & "sort by modified date"
I use the same orders most of the times, but I'm surprised by your "ascending for both". Do you really mean "oldest files on top"? I always switch between Name (asc.) and Modified (desc.), and I made a script for this:ghost zero wrote:I switch between using "sort by name" and "sort by modified date" a lot (ascending for both).
Code: Select all
// toggle sort
if (getinfo("sort") == "Name,a") {
sortby "Modified","d";
} else {
sortby "Name","a";
}
I'm thinking about a way to add pressed-state to user buttons...
FAQ | XY News RSS | XY X
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
i mostly use list view and thumbnail view (not details view). so i see this as not a matter of "oldest files on top", but a matter of them being listed in sequential order--with the newest files arriving at the end of the order (it's visually intuitive).I use the same orders most of the times, but I'm surprised by your "ascending for both". Do you really mean "oldest files on top"? I always switch between Name (asc.) and Modified (desc.), and I made a script for this:
i realize there are a lot of sort options, but it would be useful to have pressed-state buttons for the most often used ones that i mentioned (i realized you picked out the most used ones for the views buttons). thanks for the script, i'll try to use this for now. it would still be great if the pressed-state buttons could be made though.I agree that pressed-state buttons would be good too, especially for non-details views where is no other indicator of the sort order. But I don't want to end up making a button for each of the many sort orders...
Last edited by ghost zero on 09 May 2010 10:30, edited 1 time in total.
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
yikes, i just realized i ran out of custom toolbar buttons! can more than 16 be added?
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
can an official button be made for this? this type of sorting toggle is often used.
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
also for the right click menu method, is there a way to make modified (ascending) be the default on the first click, instead of descending?
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: Toolbar buttons for "sort by name" & "sort by modified date"
it'd be easier for Don to add a vanilla CTB and let you customize it as you wish than add CTB for each type of sorting currently possible in XYplorer.ghost zero wrote:can an official button be made for this? this type of sorting toggle is often used.
You can modify Don's script (above) to achieve this.ghost zero wrote:also for the right click menu method, is there a way to make modified (ascending) be the default on the first click, instead of descending?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
but i ran out of ctb and can't make anymore. so it would be helpful to have it as an official button.
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: Toolbar buttons for "sort by name" & "sort by modified date"
You can combine multiple commands into one CTBghost zero wrote:but i ran out of ctb and can't make anymore. so it would be helpful to have it as an official button.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Toolbar buttons for "sort by name" & "sort by modified date"
combining commands into one ctb is not the same as having a dedicated button. the activation method is different.
basically, i would like to see an official button for this (like the ones for the views). or more ctb because i'm out of them.
basically, i would like to see an official button for this (like the ones for the views). or more ctb because i'm out of them.
XYplorer Beta Club