Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Post by Biff »

Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?
void
Developer
Posts: 16764
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Post by void »

By default, Everything will show the length/duration in hours:minutes:seconds.

To show length/duration in total minutes only:
  • Copy and paste the following into your Everything search box:
    /duration_format=m
  • Press ENTER in your Everything search box.
  • If successful, duration_format=m is shown in the status bar for a few seconds.
    (the default is /duration_format= )
Custom your duration format



If you wish to keep the default length format and add another temporary column with a custom format, please use column formulas.

For example, add a temporary column to show the total length/duration in minutes:

addcolumn:column1 column1:=$length:/600000000

The length property is a FILETIME (100 nanoseconds)

column formulas
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Post by Biff »

Thank you very much!

I am not quite sure, I want to add the duration minutes column to some "Filters" for permanently (not temporarilly) use additionnally to the existing "Lenght" column. Is that possible?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Post by NotNull »

What happens if you add
addcolumn:column1 column1:=$length:/600000000
to the search of your filter(s)?
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Post by Biff »

Looks like nothing (which I could tell) is happening.
void
Developer
Posts: 16764
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Post by void »

Unfortunately, column formulas do not perform very well from a filter.

This is due to the order of operations.
The column formula is executed before your search.



Everything 1.5.0.1339a adds support for excel duration formats.

I recommend adjusting your duration format to show hours:minutes:seconds as well as minutes:
  • Copy and paste the following into your Everything search box:
    /duration_format=[h]:mm:ss ([m] \m\i\n\s)
  • Press ENTER in your Everything search box.
  • If successful, duration_format=[h]:mm:ss ([m] \m\i\n\s) is shown in the status bar for a few seconds.
Example output:
0:09:46 (9 mins)

duration_format
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Can Everything show run time additionally to the column "Length" in hours a column with the duration in minutes?

Post by Biff »

Ah, that is even much better than two different columns for the runtime. Works, looks great.

Thank you very much!
Post Reply