Everything - Version No. in header

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

Everything - Version No. in header

Post by tuska » Tue Mar 30, 2021 8:11 pm

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: 2861
Joined: Wed May 24, 2017 9:22 pm

Re: Everything - Version No. in header

Post by NotNull » 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

Stamimail
Posts: 801
Joined: Sat Aug 31, 2013 9:05 pm

Re: Everything - Version No. in header

Post by Stamimail » 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.

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

Re: Everything - Version No. in header

Post by tuska » Wed Mar 31, 2021 12:36 pm

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
Site Admin
Posts: 6462
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void » Thu Apr 01, 2021 5:57 am

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: 331
Joined: Thu Jul 13, 2017 9:14 am

Re: Everything - Version No. in header

Post by tuska » Thu Apr 01, 2021 10:33 am

2void
Thank you for the prompt implementation of the suggestion! :)

void
Site Admin
Posts: 6462
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything - Version No. in header

Post by void » 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

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

Re: Everything - Version No. in header

Post by tuska » Fri Apr 09, 2021 9:04 am

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

Post Reply