which the easy way to select file from different folders?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

which the easy way to select file from different folders?

Post 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

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

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

Post 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.

grindax

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

Post by grindax »

.
Last edited by grindax on 23 Jan 2016 14:58, edited 1 time in total.

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

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

Post 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...

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

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

Post 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?

grindax

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

Post by grindax »

.
Last edited by grindax on 23 Jan 2016 14:58, edited 1 time in total.

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

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

Post 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

grindax

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

Post by grindax »

.
Last edited by grindax on 23 Jan 2016 14:59, edited 1 time in total.


Post Reply