selection filter x move to subfolder integration
-
admin
- Site Admin
- Posts: 64873
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: selection filter x move to subfolder integration
What problem are you talking about? 
FAQ | XY News RSS | XY X
Re: selection filter x move to subfolder integration
Way more useful than I initially thought. Thanks for the idea & achievement.
Re: selection filter x move to subfolder integration
Actually, I do. Not sure if its solved already. But I've created a simple script that does exactly what (I think) @neutrox is asking for.admin wrote:1. hmm, seems to be a very special usage. Anybody else would need this?neutrox wrote:sure.
1. i invoke the selection filter and type 'striped' so i get files like 'food-beverage-yellow-black-striped-grunge-construction-icon-full-set.zip'
and 'food-beverage-green-black-striped-grunge-construction-icon-full-set.zip', selected. now when i press 'move to subfolder' cks i'd like to have
'Striped' (taken from seletion filter mru; recase: title would be great, here!) as my first suggestion, then default others listed too ('new folder', current date style 1, current date style 2,
name of the last selected item).
(...)
(...)
Code: Select all
::/*XYplorer Filter Grouping in SubFolder Script*/
focus L;
$msg="";
$dname= regexreplace(regexreplace( get("Item"), "^.*\\", ""),"\..*$","");
$dname= input("Filter Group", "Type the filter keyword/foldername", $dname, "s", "");
if($dname=="") {
msg "Canceled.";
} else {
selfilter $dname, f,,0;
$i=get("CountSelected");
if($i==0){
msg "No files selected";
} else {
moveto $dname,,,2;
selectitems $dname;
// msg "$i items moved to $dname.";
}
}
-
admin
- Site Admin
- Posts: 64873
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: selection filter x move to subfolder integration
Hi and welcome,
thanks for your script! But I think it is solved already;
Did not test your script though, maybe it does something different or better.
Don
thanks for your script! But I think it is solved already;
Code: Select all
v11.70.0009 - 2012-10-16 09:38
+ Menu File | Duplicate | Copy/Move Here to New Subfolder...: Now
the dialog suggests the last used Selection Filter as new
subfolder name, if that filter is a valid filename, and if it was
used less than 2 minutes ago.
Don
FAQ | XY News RSS | XY X
XYplorer Beta Club
