Open a file list without sorting

Discussion related to "Everything" 1.5 Alpha.
Post Reply
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Open a file list without sorting

Post by vsub »

Everything can open a txt file with file paths just fine but I was wondering if there is a way to not sort the list in any way(the way it is in the txt file will be how the files will be displayed keeping the order)
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Open a file list without sorting

Post by therube »

If you paste the list of names into a filelist#:, they load in the order pasted.

change search to
filelist1:

right-click the search bar,
Edit File List Slot

click inside the window frame
right-click, Paste
OK
Edit: As noted below, wrong ;-).
(It so happened, my pasted data was in the order that Everything ended up sorting in, so when I compared the two, they were the same, making it appear that it opened that list without sorting.)
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Open a file list without sorting

Post by vsub »

When I do that,when I paste the file list from the text file or import it,Everything auto sort the list by path in that window

For example paste this and you will see that it automatically sorts the list
d:\1
d:\2
d:\1\2
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open a file list without sorting

Post by void »

Currently not possible.

A file list order number property is on my TODO list.
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Open a file list without sorting

Post by vsub »

void wrote: Tue Oct 08, 2024 2:40 am Currently not possible.

A file list order number property is on my TODO list.
Is there is any way to create a file list so that it will obey the order when I use the advanced sorting option for example or something else
Even if I have to manually add something at the begining or the end of the file path(autohotkey will do it)
Without renaming the actual file
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open a file list without sorting

Post by void »

Yes, you can use any property as the order.

For example:

Code: Select all

Filename,Line Count
"Z",1
"Y",2
"X",3
"3",4
"2",5
"1",6
"A",7
"B",8
"C",9
Then sort by Line Count ascending.
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Open a file list without sorting

Post by vsub »

This works fine,thanks
Btw is there is some feature in everything that if some kind of text exist in the file list,everything will open the list in a specific way(view and sort mode)
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open a file list without sorting

Post by void »

No, there's no commands inside file lists.

You can open file lists from the command line.

For example:

Everything.exe -filelist "c:\filelists\my file list.efu" -thumbnails -sort "line count"

-filelist
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Open a file list without sorting

Post by vsub »

does the findbar or the searchbar support selecting the file that is in a specific line
For example I create the filelist like you told me but rather than writing the whole name in the findbar,is there is a way to use some command and the line number set to that file
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Open a file list without sorting

Post by void »

Edit -> Goto (Ctrl + G)

There's a /select search command you can use from a bookmark:

/select <zero-based-index>


/select



For third party apps:
The next alpha update will support LB_SETCURSEL
You can currently use LVM_SETITEMSTATE to set the focus and selection. Although, this is difficult to do..

I will also add a /goto search command to quickly jump to an item number or the first folder etc...
Post Reply