Today I needed to select many files in a folder containing many files of many types, based on file types... So I sorted after extension and carefully selected... (Probably could have used Type Stats Filtering in some intelligent way too.)
In doing that it occurred to me that a nice feature would be the possibility of making selections based on Type Stats: To have a check list presented, having the same contents as the "Type Stats and Filter" button menu and enabling the selection of the items in a list whose types correspond with the checked stat items.
Certainly not an essential functionality, but, well... an idea.
[Directors cut coming in 12.50] Select By Type
[Directors cut coming in 12.50] Select By Type
- Attachments
-
- TypeSelect.jpg (1.76 KiB) Viewed 2177 times
Last edited by Borut on 24 Apr 2013 11:02, edited 2 times in total.
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 65245
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stats Select
OK, but there are so many ways to select already. What exactly did you have to select? (I wonder if there aren't ways already to do it fast)
FAQ | XY News RSS | XY X
Re: Type Stats Select
I could have used a selection filter with, say, as an example: *.chm;*.exe;*.ini;*.lng;*.ok;*.pdf;*.xyz, but the problem is that although my selections are defined by file types, the types to select are not always the same, neither do I know in advance if some folders contain some other types which I would like to select.admin wrote:OK, but there are so many ways to select already. What exactly did you have to select? (I wonder if there aren't ways already to do it fast)
I was thinking of this combined functionality as a way to get the idea about (or to check/control) the file types which are there, as well as to select a subset thereof at the same time.
But, as usual, if no one else shows interest, forget it. This approach is OK with me.
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 65245
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stats Select
So you wanted to select several types in a list (e.g. all PNG and all GIF)? Yes, I see your idea could be useful. I store it for later. Thanks! 
(Idea: one might integrate it with Type Stats: hold CTRL or SHIFT to select the files instead of filter them...)
(Idea: one might integrate it with Type Stats: hold CTRL or SHIFT to select the files instead of filter them...)
FAQ | XY News RSS | XY X
-
FluxTorpedoe
- Posts: 904
- Joined: 05 Oct 2011 13:15
Re: Type Stats Select
Hi'
This could be useful once in a while, and after too much
I was in the mood for minigolf, so...
selfilter inputselect("Choose The File Types To Select:", formatList(report("{Dir |*.{Ext}}|"), "dents"), "|", 2, , , , "Select By Type");
It's simple but does the trick...
Flux
// Edit: Dang! Don just beat me to it again!
Minigolf Note: I think someone else had a similar idea for filters a while ago (but I forgot who).
This could be useful once in a while, and after too much
selfilter inputselect("Choose The File Types To Select:", formatList(report("{Dir |*.{Ext}}|"), "dents"), "|", 2, , , , "Select By Type");
It's simple but does the trick...
Flux
// Edit: Dang! Don just beat me to it again!
Minigolf Note: I think someone else had a similar idea for filters a while ago (but I forgot who).
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
admin
- Site Admin
- Posts: 65245
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stats Select
WOW, beautiful!!FluxTorpedoe wrote:Hi'
This could be useful once in a while, and after too muchI was in the mood for minigolf, so...
selfilter inputselect("Choose The File Types To Select:", formatList(report("{Dir |*.{Ext}}|"), "dents"), "|", 2, , , , "Select By Type");
It's simple but does the trick...![]()
Flux
FAQ | XY News RSS | XY X
Re: Type Stats Select
In the thread that lead to Don creating type stats I posted a script which allows filtering multiple types and may be useful to you: http://www.xyplorer.com/xyfc/viewtopic. ... 748#p83748
And don't forget you can select one item of each type you want and use the command:
#254 Edit | Select | Select By Selected Type(s) (Ctrl+Alt+M)
The latter is especially useful since you can do it repeatedly to build up the selection.
I might have to spend the afternoon modifying my script to offer a way to filter OR select. Hmmm....
And don't forget you can select one item of each type you want and use the command:
#254 Edit | Select | Select By Selected Type(s) (Ctrl+Alt+M)
The latter is especially useful since you can do it repeatedly to build up the selection.
I might have to spend the afternoon modifying my script to offer a way to filter OR select. Hmmm....
-
admin
- Site Admin
- Posts: 65245
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stats Select
BTW, next version will allow to select files with NO extension using this pattern:
Code: Select all
selfilter "*.", f;FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65245
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stats Select
Well, I added it. Was easy and works nicely. No great usability and no feedback about which types are selected, but a cute little hidden trick:
Code: Select all
+ Type Stats and Filter: Now you can use the menu to (un)select
files by type.
- Hold CTRL: Add all files of this type to the selection.
- Hold SHIFT: Remove all files of this type from the selection.
FAQ | XY News RSS | XY X
Re: Type Stats Select
Sweet!
This is a very useful feature! Was going to ask about it but since I did get the Type Stats wish granted, thought I should wait a bit longer haha.
Re: Type Stats Select
Many thanks for your efforts!
Comments (my very personal and picky ones) follow...
@Don
+ Wow, that was fast and is useful!
- One click too much per selection (in order to reopen the stat menu), but no other way for that solution.
@FluxTorpedoe
+ Don said it all, Kung Fu Script! Wow!!
+ This comes as close as it gets to what I have imagined (buttoned it already for the future).
- Stat not visible by the check boxes, but no other way for that solution. (I regard stats handy for controlling the folders content "normality" at the time of selection.)
@TheQwerty
+ Thanks, your previous script was not known to me.
+ The invert possibility is nice!
- Well, it is a filter and I prefer selection for that particular task (want to see them all at all times, but choose some, although many; do not ask why - must be my psychology
).
(BTW, I knew for "Select by selected types" before - am a translator
- but I regard that as suboptimal for this particular task of mine).
Have a nice <day; evening; night> to all!
Borut
Comments (my very personal and picky ones) follow...
@Don
+ Wow, that was fast and is useful!
- One click too much per selection (in order to reopen the stat menu), but no other way for that solution.
@FluxTorpedoe
+ Don said it all, Kung Fu Script! Wow!!
+ This comes as close as it gets to what I have imagined (buttoned it already for the future).
- Stat not visible by the check boxes, but no other way for that solution. (I regard stats handy for controlling the folders content "normality" at the time of selection.)
@TheQwerty
+ Thanks, your previous script was not known to me.
+ The invert possibility is nice!
- Well, it is a filter and I prefer selection for that particular task (want to see them all at all times, but choose some, although many; do not ask why - must be my psychology
(BTW, I knew for "Select by selected types" before - am a translator
Have a nice <day; evening; night> to all!
Borut
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 65245
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stats Select
Actually I think I will steal the Kung Fu Script and implement it as Select By Type function and button. In 12.50. 
FAQ | XY News RSS | XY X
XYplorer Beta Club