Page 2 of 2

Re: selection filter x move to subfolder integration

Posted: 25 Oct 2012 18:17
by admin
What problem are you talking about? :veryconfused:

Re: selection filter x move to subfolder integration

Posted: 25 Oct 2012 18:25
by neutrox

Re: selection filter x move to subfolder integration

Posted: 25 Oct 2012 18:58
by admin
Ah, got it, thanks!

Re: selection filter x move to subfolder integration

Posted: 01 Nov 2012 18:03
by Gabrielle
Way more useful than I initially thought. Thanks for the idea & achievement.

Re: selection filter x move to subfolder integration

Posted: 19 Nov 2012 23:03
by MikhailR
admin wrote:
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).

(...)
1. hmm, seems to be a very special usage. Anybody else would need this?
(...)
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.

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.";
    }
  }

Re: selection filter x move to subfolder integration

Posted: 20 Nov 2012 08:22
by admin
Hi and welcome,

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.
Did not test your script though, maybe it does something different or better.

Don