selection filter x move to subfolder integration

Features wanted...
admin
Site Admin
Posts: 64872
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: selection filter x move to subfolder integration

Post by admin »

What problem are you talking about? :veryconfused:


admin
Site Admin
Posts: 64872
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: selection filter x move to subfolder integration

Post by admin »

Ah, got it, thanks!

Gabrielle
Posts: 57
Joined: 28 Apr 2012 00:57

Re: selection filter x move to subfolder integration

Post by Gabrielle »

Way more useful than I initially thought. Thanks for the idea & achievement.

MikhailR
Posts: 9
Joined: 19 Nov 2012 22:49

Re: selection filter x move to subfolder integration

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

admin
Site Admin
Posts: 64872
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: selection filter x move to subfolder integration

Post 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

Post Reply