Search results in status bar, e.g. xx objects (xx files, xx directories)

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by tuska »

Hi,

could one display also the number of files and directories in the status bar of Everything in addition to the total number?

Example:

Code: Select all

xx objects (xx files, xx directories)
At present I receive the following:

Code: Select all

-----------------------------------------------------------
Everything	|	Total Commander
-----------------------------------------------------------
97 objects 	|	[87 files and 10 directories found]
-----------------------------------------------------------
If there is no solution at the moment, then I would like to suggest that.
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by void »

Not yet unfortunately.

I've put this on my Things to do list.

Thank you for the suggestion tuska.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by tuska »

Thank you for the prompt reply!
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by tuska »

Hi,
 
2021-10-20_Everything_Drive Y in Search result.png
2021-10-20_Everything_Drive Y in Search result.png (12.34 KiB) Viewed 10512 times
 
If I do the search query as shown, I would expect drive Y not to be shown in the search result.
The drive Y is also still included in the overall result(!) in the status bar.

Is there any way to NOT include the drive letter, in this case Y in the search result?
An .ini option would be helpful, because it is easy to forget about bookmark queries or filters.

(When transferring the search result to Total Commander, there is currently a difference of 1 object in such cases,
because Total Commander only counts folders and files).

Please support.
Thank you!
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by raccoon »

If you add the closing backslash at the end of your path query, the drive/folder object itself should no longer appear.

Y:\

(The colon is part of the object name, the same way the dot before a file extension is. Maybe someday @void will allow AltStream names to appear in the full index, which also uses colon as a delimiter. As in Y:\Everything-1.5.0.1280a.x64.zip:Zone.Identifier which is a valid object name.)

Question: Why do you have backslashes in your Name column? Mine does not show them.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by tuska »

raccoon wrote: Wed Oct 20, 2021 9:44 pm If you add the closing backslash at the end of your path query, the drive/folder object itself should no longer appear.
Y:\
Ahh, thank you!
I hadn't thought of that.
raccoon wrote: Wed Oct 20, 2021 9:44 pm Question: Why do you have backslashes in your Name column? Mine does not show them.

Code: Select all

Y:\Test1\	-> Test1\ 
Y:\Test2\	-> Test2\  ... are folders.
Thanks again!
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by raccoon »

tuska wrote: Wed Oct 20, 2021 10:14 pm
raccoon wrote: Wed Oct 20, 2021 9:44 pm Question: Why do you have backslashes in your Name column? Mine does not show them.

Code: Select all

Y:\Test1\	-> Test1\ 
Y:\Test2\	-> Test2\  ... are folders.
Thanks again!
Yeah, I still don't understand why your folders have backslashes under the Name column. Maybe void can explain it to me. Likely a hidden setting I missed. Nothing I can find searching for "slash" in my .ini
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by void »

It's the new /folder_append_path_separator ini setting.

Please note this setting is in development and will change for the next alpha release.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by tuska »

void wrote: Wed Oct 20, 2021 11:07 pm It's the new /folder_append_path_separator ini setting.

Please note this setting is in development and will change for the next alpha release.
Thanks for the advice!
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by tuska »

2void

Thank you very much for the prompt implementation of my suggestion! :)

Everything-1.5.0.1281a - 21.10.2021 --> Added status bar format customization.
Status Bar Format

I have already noted a few variants, e.g.

Everything 1.5.0.1281a - Status bar: 0 objects (0 files, 0 folders)

Code: Select all

/statusbar_format=#if:<#result-count:==1,1 object,#TEXT:<#result-count:,#,###> objects> (#TEXT:<#file-result-count:,#,###> files, #TEXT:<#folder-result-count:,#,###> folders)
Everything 1.5.0.1281a - Status bar: 0 objects (0 folders, 0 files)

Code: Select all

/statusbar_format=#if:<#result-count:==1,1 object,#TEXT:<#result-count:,#,###> objects> (#TEXT:<#folder-result-count:,#,###> folders, #TEXT:<#file-result-count:,#,###> files)
Everything 1.5.0.1281a - Status bar: (0 folders, 0 files) 0 objects

Code: Select all

/statusbar_format=(#TEXT:<#folder-result-count:,#,###> folders, #TEXT:<#file-result-count:,#,###> files) #if:<#result-count:==1,1 object,#TEXT:<#result-count:,#,###> objects>
- In Everything, type in the code above in the search box and press ENTER.
- If successful, you should see "statusbar_format=..." in the status bar for a few seconds
- The status bar then shows e.g. the following: 0 objects (0 files, 0 folders)
Mizufluffy
Posts: 62
Joined: Sun Jun 13, 2021 10:22 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by Mizufluffy »

tuska wrote: Thu Oct 21, 2021 11:24 pm Everything 1.5.0.1281a - Status bar: 0 objects (0 files, 0 folders)
I think I personally prefer that one the most. That way I can see total count first just like before, then file count because 1) I tend to prioritize files over folders, 2) in my case I usually have more files in results than folders unless I'm searching only folders so it makes sense to see them first, and lastly folder count just so I don't have to calculate total - files = folders manually if their values differ.

Also, having folders last makes it faster to know if all results are files because single or double digit folder count is a lot faster to read than trying to compare something like 1 344 153 objects with the same or similar looking file count.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Search results in status bar, e.g. xx objects (xx files, xx directories)

Post by tuska »

void wrote: Wed Oct 20, 2021 11:07 pm It's the new /folder_append_path_separator ini setting.
Because it also fits this topic very well, I would like to refer to this detailed list.
under topic "Add trailing backslash to name for folders"

The following is broken down here:

Code: Select all

Everything: Search box, Display, Status bar, Shortcuts, Parameter settings.
2Mizufluffy
I also use 0 objects (0 files, 0 folders).
I only thought of the other two variants as further examples (for other interested users).
Post Reply