How to display several files, multi-source, on list?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
sweet40
Posts: 84
Joined: 21 Apr 2013 22:16

How to display several files, multi-source, on list?

Post by sweet40 »

I see 'branch view', 'multi branch view' and I wonder: 'ok, XYplorer has a powerful list to work. But does it have a way for me to list several folders or files and have them listed without having to search for nothing, just like if they belong to that "virtual folder" (let's call it that way, for the lack of proper name)?'

Why? Because I often have to deal with files and folders spread all around and it would be much much easy for me to have them listed on a single tab instead of having to go everywhere back and forth all the time. "Recent File Operations" is being of a great help, by the way.

I tried to script something that would add <curitem> to a selection then display all those items on a single location, the list, but halted at this point.

eil
Posts: 1875
Joined: 13 Jan 2011 19:44

Re: How to display several files, multi-source, on list?

Post by eil »

virtual folders are planned(like in win7=like you described), but branch view is best XY can for the moment.
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: How to display several files, multi-source, on list?

Post by admin »

eil wrote:virtual folders are planned(like in win7=like you described), but branch view is best XY can for the moment.
Yes.

If you really need it bad you can do something hacky: Run some cached search in XY, then open the tab_?.ini file that has the cached search results (typically in <xydata>\Panes\1\t\) and edit it manually to contain your desired multi-source files. When you now open the search results tab, you have effectively a virtual folder (but don't run the search again).

sweet40
Posts: 84
Joined: 21 Apr 2013 22:16

Re: How to display several files, multi-source, on list?

Post by sweet40 »

Great, I could automate almost everything in the making of a .ini based multi-place displaying of items, files and folders. Thanks for the idea, it's complicated but does the job with the help of some scripting.
But setkey isn't helping at all.

Code: Select all

      setkey "$total<crlf>$list", "Count", "Items", "<xydata>\FindTemplates\Search2 VF.ini";
should set current list in the expected format the .ini supports, a count and a numbered list of items.
But each time I run the script, setkey is adding to the previously written data instead of replacing it.
Any other way I could execute this operation?

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

Re: How to display several files, multi-source, on list?

Post by admin »

writefile() might do it.

BTW, good idea to use Search Template for this!

sweet40
Posts: 84
Joined: 21 Apr 2013 22:16

Re: How to display several files, multi-source, on list?

Post by sweet40 »

I was pointed to a link which described a manner to delete entire section, so this is solved and works like a charm, thank you admin and Skyfrontier!

Post Reply