Page 1 of 1

which the easy way to select file from different folders?

Posted: 15 Sep 2013 16:27
by giuliastar
Hi

which is the easy way to select several files from different source?
i mean select 20 files from C:\photos , and 40 from D:\my files

is there an easy way to select the 20 files and 40 and process them with xyplorer?

thanks

Re: which the easy way to select file from different folders

Posted: 15 Sep 2013 16:58
by serendipity
giuliastar wrote:Hi

which is the easy way to select several files from different source?
i mean select 20 files from C:\photos , and 40 from D:\my files

is there an easy way to select the 20 files and 40 and process them with xyplorer?

thanks
Quickest i can think of right now is to append ? /:flat at the end of both paths in address bar, like this:

Code: Select all

C:\photos;D:\my files? /:flat
Copy paste the above code onto your address bar and you will get all files from both locations.

Re: which the easy way to select file from different folders

Posted: 15 Sep 2013 17:08
by grindax
.

Re: which the easy way to select file from different folders

Posted: 15 Sep 2013 17:12
by admin
The shell context menu does not support items from multiple different locations, so the use case is invalid.

Nevertheless I would like to support cross tab selections. I'll think about it...

Re: which the easy way to select file from different folders

Posted: 15 Sep 2013 17:38
by giuliastar
grindax wrote:I've been meaning to write something like this as a Wish, but I'll just jump in here and second giuliastar's request by explaining a use case I have in mind.

Often I want to send files from multiple different locations as arguments to an application visible in the context menu. For example, 2 different files to a file comparison program.

Even though there are already some ways to get multiple folders visible in one List view, often I have tabs already open to the locations where I can see the source files. It would be much easier, and indeed very handy, to be able to multi-select across tabs or across panes.

Perhaps this could be made available in the form of an enhancement to Sticky Selection?
tag them?
should it work?

Re: which the easy way to select file from different folders

Posted: 15 Sep 2013 18:21
by grindax
.

Re: which the easy way to select file from different folders

Posted: 16 Sep 2013 11:34
by FluxTorpedoe
Hi Back everyone!

Well, there might be a few solutions or workarounds...

• For Multiple files/folders:
giuliastar wrote:select several files from different source
While waiting for "cross tab selections", one approach is using custom "virtual Folders". This can be done via permanent variables, or tags indeed. An example is available here.

• For 2 files/folders:
grindax wrote:Often I want to send files from multiple different locations as arguments to an application visible in the context menu. For example, 2 different files to a file comparison program.
This one is much easier thanks to the <curitemprev> variable!

– Example 1:
Click on your first item (file or folder) to select it, then click on your second item (which can be in a different tab, in the other pane, etc.) — this latter one is assigned to <curitem> and the previous one becomes assigned to <curitemprev>. Then run this script.

Code: Select all

  run "Path\Application.exe" "<curitemprev>" "<curitem>";
– Example 2:
A more complete code where items are compared when items are selected, or where panes are compared when nothing is selected (i.e. panes = the parent folders whose content is visible in each pane).
Note that depending on your comparison program, the first selected item/pane will be the "newest/master" item, so you know you can always click first on your newest file or folder, then on the oldest.

Code: Select all

"Compare Items"
  if <curitem> { // Compare items
    $item1=<curitem>; $item2=<curitemprev>;
    run "Path\Application.exe" "$item2" "$item1";
  } else { // Compare panes
    $item1=get("path", a); $item2=get("path", i);
    run "Path\Application.exe" "/CommandLineArgument" "$item2" "$item1";
  }
Hope this helps, 8)
Flux

Re: which the easy way to select file from different folders

Posted: 16 Sep 2013 13:39
by grindax
.

Re: which the easy way to select file from different folders

Posted: 16 Sep 2013 15:16
by grindax
.