Type Stat and Filter Multi-Choice/Check mark
-
raavellar01
- Posts: 9
- Joined: 13 Jun 2014 21:47
Type Stat and Filter Multi-Choice/Check mark
It would be nice to be able to have a check mark option next to the extension choices in the drop down and a "ok" button to leave the drop down.
-
admin
- Site Admin
- Posts: 65244
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stat and Filter Multi-Choice/Check mark
This is actually planned. There is already a script here in the forum that provides this. Don't remember the name right now.
FAQ | XY News RSS | XY X
Re: Type Stat and Filter Multi-Choice/Check mark
Are you talking about this - http://www.xyplorer.com/xyfc/viewtopic. ... 748#p83743 / http://www.xyplorer.com/xyfc/viewtopic. ... 313#p85311
Code: Select all
selfilter inputselect("Choose The File Types To Select:", formatList(report("{Dir |*.{Ext}}|"), "dents"), "|", 2, , , , "Select By Type");
-
Stef123
Re: Type Stat and Filter Multi-Choice/Check mark
Wow. I am stunned. Wish I had come across these 2 scripts earlier
This doesn't just help me to get over the missing "Show in Groups" view that I use elsewhere to select whole sets in one go, it is actually MUCH better.
My CTBs are piling up. Need to get a grip on how to trigger them more efficiently.
Is is possible to incorporate scripts into the dropdowns of existing default buttons? Like, say, the right-click menu of the Visual Filter button?
This doesn't just help me to get over the missing "Show in Groups" view that I use elsewhere to select whole sets in one go, it is actually MUCH better.
My CTBs are piling up. Need to get a grip on how to trigger them more efficiently.
Is is possible to incorporate scripts into the dropdowns of existing default buttons? Like, say, the right-click menu of the Visual Filter button?
-
admin
- Site Admin
- Posts: 65244
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Type Stat and Filter Multi-Choice/Check mark
No, but you can pack countless scripts in any single CTB.
FAQ | XY News RSS | XY X
-
Stef123
Re: Type Stat and Filter Multi-Choice/Check mark
Thanks. I remember having read about it and seen examples here in the forum. Needs research ..admin wrote:No, but you can pack countless scripts in any single CTB.
Goes to show you cannot afford to skip the forum. Almost impossible, though, to keep track of new threads when I am back at work next week.
Re: Type Stat and Filter Multi-Choice/Check mark
@Stef, It should be pretty simple:
Code: Select all
"Script 1"
Load "script1.xys";
"Script 2"
//script goes here...
..
...
Last edited by bdeshi on 17 Jun 2014 13:34, edited 1 time in total.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Type Stat and Filter Multi-Choice/Check mark
A small variation:
If you've currently selected a file (that has an extension) the extension for it will be preselected in the selection window.
Otherwise (file without extension / folder) nothing is preselected.
Code: Select all
$preSel = ("<curext>" != "") ? replace(formatlist(report("{Dir |*.{Ext}}|"), "dents"), "*.<curext>", "+*.<curext>") : formatlist(report("{Dir |*.{Ext}}|"), "dents");
selfilter inputselect("Choose the file type(s) to select...", $preSel, "|", 2, , , , "Select by type");
Otherwise (file without extension / folder) nothing is preselected.
One of my scripts helped you out? Please donate via Paypal
-
Stef123
Re: Type Stat and Filter Multi-Choice/Check mark
@ highend and Sammay
thank you both - I am making headway, catching on ...

thank you both - I am making headway, catching on ...
XYplorer Beta Club