Page 1 of 1

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

Posted: 28 Apr 2013 18:55
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.

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

Posted: 28 Apr 2013 19:47
by eil
virtual folders are planned(like in win7=like you described), but branch view is best XY can for the moment.

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

Posted: 28 Apr 2013 20:45
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).

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

Posted: 29 Apr 2013 01:02
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?

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

Posted: 29 Apr 2013 07:29
by admin
writefile() might do it.

BTW, good idea to use Search Template for this!

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

Posted: 29 Apr 2013 09:56
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!