Window title version number

Have a suggestion for "Everything"? Please post it here.
meteorquake
Posts: 628
Joined: Thu Dec 15, 2016 9:44 pm

Window title version number

Post by meteorquake »

in window_title_format the version can be quite long.
I guess it would currently be possible to do a replace to remove the offending bits, but I think it would be useful to have an option for a short version too of just the minor number, so "1411b" instead of "1.5.0.1411b (x64)", although maybe some people might want the full number without the architecture part.
Cheers! David
void
Developer
Posts: 19899
Joined: Fri Oct 16, 2009 11:31 pm

Re: Window title version number

Post by void »

To set a short version in window title format:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    title
  • Select: window_title_format
  • Set the value to:

    Code: Select all

    $s?{$s - }$a?{$a - }$d?{$d - }$t$i?{ ($i)} <element:$v,".",4><if:isadmin:," [Administrator]"><if:isdbreadonly:," [Read-only]">
    
    Shown as
    Everything 1411b (x64)

    -or-

    Code: Select all

    $s?{$s - }$a?{$a - }$d?{$d - }$t$i?{ ($i)} <regexreplace:<element:$v,".",4>," \(.*\)",""><if:isadmin:," [Administrator]"><if:isdbreadonly:," [Read-only]">
    
    Shown as
    Everything 1411b
  • Click OK.
Everything 1.5b Title Formatting