Everything - Version No. in header

Have a suggestion for "Everything"? Please post it here.
Post Reply
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Everything - Version No. in header

Post by tuska »

I think this header is very good. ... Picture
1.5.0.1251a (x64)

If one could prefix the version number with "Everything", then it would be perfect from my point of view...

Code: Select all

Everything 1.5.0.1251a (x64)
or
Everything (x64) 1.5.0.1251a
I like that much better than, for example...
c:\windows\ - Everything
or
explorer.exe - Everything

Perhaps this could still be set up with an option in Everything?
NotNull
Posts: 5469
Joined: Wed May 24, 2017 9:22 pm

Re: Everything - Version No. in header

Post by NotNull »

The version was recently added as an option for the title bar / window caption ($v(
You can get your desired layout by typing the following in the search bar, followed by ENTER:

Code: Select all

/window_title_format=$t $v
More options for the title bar can be found here
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Everything - Version No. in header

Post by Stamimail »

I think "Version No. in header" it's good and should be default for alpha/beta.
It will help Forum Community with knowing the version when a screenshot is uploaded.
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

NotNull wrote: Tue Mar 30, 2021 8:59 pm The version was recently added as an option for the title bar / window caption ($v(
You can get your desired layout by typing the following in the search bar, followed by ENTER:

Code: Select all

/window_title_format=$t $v
More options for the title bar can be found here
Thank you!
Perfect! :)

Stamimail wrote: Tue Mar 30, 2021 10:08 pm I think "Version No. in header" it's good and should be default for alpha/beta.
It will help Forum Community with knowing the version when a screenshot is uploaded.
In such a case, I would suggest an additional option, namely that you indicate in the title bar
with some character, e.g. "^", whether Everything was started as an administrator.

E.g.

Code: Select all

^Everything 1.5.0.1251a (x64)
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

I have added some preprocessor commands to the title format in Everything 1.5.0.1252a.

To show a ^ in front of Everything, when Everything is running as an admin:
  • In Everything, type in the following search and press ENTER:

    Code: Select all

    /window_title_format=#if(:#isadmin:,^#):$t $v
    
preprocessor syntax:
#function:text
#function(:arg1,arg2,arg3,...#):
#(:a literal block of text#):

Currently supported preprocessor functions:
  • #if:condition,true-value,false-value -if condition is true, returns true-value, else false-value.
  • #len:text -returns the length of text in UTF-16 characters.
  • #version: -returns the current version with the major.minor.revision.build format.
  • #isadmin: -returns 1 if running as an admin, 0 otherwise.
This list will grow in future versions.
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

2void
Thank you for the prompt implementation of the suggestion! :)
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

For Everything 1.5.0.1253a, please try the following title format:

/window_title_format=#if:(#isadmin:,^)$t $v
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

void wrote: Fri Apr 09, 2021 8:47 am For Everything 1.5.0.1253a, please try the following title format:
/window_title_format=#if:(#isadmin:,^)$t $v
Thank you!
After restarting 'Everything', everything is displayed again in the desired way:

Code: Select all

Everything - Version No. in header	Remark
---------------------------------------------------------------------------------------
Everything 1.5.0.1253a (x64)		Everything started without administrator rights
^Everything 1.5.0.1253a (x64)		Everything started with    administrator rights
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

For Everything 1.5.0.1262a, please try the following title format:

/window_title_format=#if:<#isadmin:,^>$t $v
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

void wrote: Fri May 28, 2021 7:57 am For Everything 1.5.0.1262a, please try the following title format:

/window_title_format=#if:<#isadmin:,^>$t $v
Thank you for this information. :)
Everything works again as indicated just above.
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

2void
I have just noticed that when an additional instance is used, in the title bar of Everything
it is no longer possible to determine which version is being used, i.e. the first instance or the additional instance.

Could you please also display the instance in the title bar?

Example:

Code: Select all

Everything 1.5.0.1272a (x64) ................. first instance
Everything 1.5.0.1272a (x64) - (PRIVATE) ..... additional instance
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

/window_title_format=#if:<#isadmin:,^>$t$i?{ ($i)} $v
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

void wrote: Sat Aug 21, 2021 10:54 am /window_title_format=#if:<#isadmin:,^>$t$i?{ ($i)} $v
Thanks a lot!

Code: Select all

Everything (PRIVATE) 1.5.0.1272a (x64)
... is then displayed in the title bar for the above example.
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

If you want the dash and instance after the version, please use:

/window_title_format=#if:<#isadmin:,^>$t $v$i?{ - ($i)}
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

void wrote: Sat Aug 21, 2021 11:35 am If you want the dash and instance after the version, please use:

Code: Select all

/window_title_format=#if:<#isadmin:,^>$t $v$i?{ - ($i)}
Thank you, I prefer this variant: :) ...

Code: Select all

Everything 1.5.0.1272a (x64) - (PRIVATE)
Only example:
- Instance name: "PRIVATE"
  (Path\to\Everything64.exe -instance "PRIVATE")
- Everything Service: Everything (PRIVATE)
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

void wrote: Tue Nov 30, 2021 5:38 am Everything 1.5.0.1286a will now show [Administrator] in the window caption when running as an administrator by default.
I like this option very much because the use of Everything as an administrator is displayed so concisely
that it is almost impossible to overlook this fact.

At present, however, the Everything version no. and instance title is not displayed for this variant, but only:

Code: Select all

Everything [Administrator]
Perhaps one could change this code:

Code: Select all

/window_title_format=#if:<#isadmin:,^>$t $v$i?{ - ($i)}
... to show the following - Examples:

Code: Select all

Everything 1.5.0.1289a (x64) - [Administrator]
Everything 1.5.0.1289a (x64) - (PRIVATE) - [Administrator]
Please check.
Thank you!
horst.epp
Posts: 1453
Joined: Fri Apr 04, 2014 3:24 pm

Re: Everything - Version No. in header

Post by horst.epp »

tuska wrote: Fri Dec 17, 2021 12:20 pm
void wrote: Tue Nov 30, 2021 5:38 am Everything 1.5.0.1286a will now show [Administrator] in the window caption when running as an administrator by default.
I like this option very much because the use of Everything as an administrator is displayed so concisely
that it is almost impossible to overlook this fact.

At present, however, the Everything version no. and instance title is not displayed for this variant, but only:

Code: Select all

Everything [Administrator]
Perhaps one could change this code:

Code: Select all

/window_title_format=#if:<#isadmin:,^>$t $v$i?{ - ($i)}
... to show the following - Examples:

Code: Select all

Everything 1.5.0.1289a (x64) - [Administrator]
Everything 1.5.0.1289a (x64) - (PRIVATE) - [Administrator]
Please check.
Thank you!
Using default settings the version number is shown before Administrator.
NotNull
Posts: 5469
Joined: Wed May 24, 2017 9:22 pm

Re: Everything - Version No. in header

Post by NotNull »

My opinion:

It is enough to show that Everything is running as Administrator, so you can fix that "mistake" :)
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

horst.epp wrote: Fri Dec 17, 2021 1:23 pm Using default settings the version number is shown before Administrator.
If I remove this line from Everything.ini:

Code: Select all

window_title_format=#if:<#isadmin:,^>$t $v$i?{ - ($i)}
then the title bar will only say -> Everything.
In Everything.ini I then only have this entry: window_title_format=

If I start Everything as an administrator, it says Everything [Administrator] in the title bar.

I am currently not aware of any option that I could have set regarding the title bar,
which leads to the view you indicated.

So at the moment I leave my setting with version no., instance title, ^Everything... as administrator as it is.
--------------
2NotNull
I suppose that is also what you are suggesting here.
NotNull wrote: Fri Dec 17, 2021 1:33 pm My opinion:

It is enough to show that Everything is running as Administrator, so you can fix that "mistake" :)
horst.epp
Posts: 1453
Joined: Fri Apr 04, 2014 3:24 pm

Re: Everything - Version No. in header

Post by horst.epp »

With default settings:
Screenshot - 17.12.2021 , 14_50_20.png
Screenshot - 17.12.2021 , 14_50_20.png (8.14 KiB) Viewed 19511 times
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

2horst.epp
Thank you, I didn't doubt that you had such a setting. :)
I just don't know how I would have to adjust my Everything.ini.
NotNull
Posts: 5469
Joined: Wed May 24, 2017 9:22 pm

Re: Everything - Version No. in header

Post by NotNull »

Doesn't this work for you?

Code: Select all

/window_title_format=$t $v$i?{ - ($i)}#if:<#isadmin:, - [Administrator]>
2021-12-17 15_05_51-Everything 1.5.0.1280a (x64) - (1.5a) - [Administrator].png
2021-12-17 15_05_51-Everything 1.5.0.1280a (x64) - (1.5a) - [Administrator].png (5.68 KiB) Viewed 19502 times
horst.epp
Posts: 1453
Joined: Fri Apr 04, 2014 3:24 pm

Re: Everything - Version No. in header

Post by horst.epp »

tuska wrote: Fri Dec 17, 2021 1:56 pm 2horst.epp
Thank you, I didn't doubt that you had such a setting. :)
I just don't know how I would have to adjust my Everything.ini.
I never changed anything related to that topic and I'm not aware of any option.
So only David can tell us whats the reason for your display.
For me the version info is not importand
as I'm always running the latest alpha :)
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

The issue is most likely due to the current Language.

Temporarily try setting your Language to English (US) and the title should include the version and [Administrator].


I'll look into a new localization string and retiring the old one.

For now, set your window_title_format to:
/window_title_format=$s?{$s - }$t$i?{ ($i)} $v#if:<#isadmin:, [Administrator]>
(this is the current default English (US) window_title_format)
NotNull
Posts: 5469
Joined: Wed May 24, 2017 9:22 pm

Re: Everything - Version No. in header

Post by NotNull »

Oh, brain wave: if you don't run your Everything in portable mode (and/or have Store settings and data in %APPDATA%\Everything enabled), running as adminiustrator will have a different ini file. Make sure you are looking at the right one :)

about:config should open the one you are using at that moment.
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

NotNull wrote: Fri Dec 17, 2021 2:04 pm Doesn't this work for you?

Code: Select all

/window_title_format=$t $v$i?{ - ($i)}#if:<#isadmin:, - [Administrator]>
Thank you very much!
That is exactly what I wanted. :)

Code: Select all

Everything 1.5.0.1289a (x64) - [Administrator]
Everything 1.5.0.1289a (x64) - (PRIVATE) - [Administrator]
2horst.epp
Thank you also for your efforts.
For me, the version number, etc. is important, even though I usually use the latest alpha version.

2void
I'll check in a moment...

_________________________________________________
Windows 10 Pro (x64) Version 21H2 (OS build 19044.1415)
'Everything' 1.5.0.1289a (x64)
C:\Tools\Everything\Everything64.exe - Portable on system drive C:
Language: English (instance "Main" & German (instance "PRIVATE"
)
tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

2void

With this code:

Code: Select all

/window_title_format=$s?{$s - }$t$i?{ ($i)} $v#if:<#isadmin:, [Administrator]>
I get this display in the title bar

Code: Select all

Everything 1.5.0.1289a (x64) [Administrator] ............. Language: English (UK) ................... - instance "Main"
Everything (PRIVATE) 1.5.0.1289a (x64) [Administrator] ... Language: German: Deutsch (Systemstandard) - instance "PRIVATE"
Thank you also for the prompt help. :)
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

Everything 1.5.0.1290a will now show the version in the window caption for all languages.
void
Developer
Posts: 16929
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void »

tuska
Posts: 1071
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska »

Post Reply