Make 'window caption' display the title of the bookmark
-
- Posts: 15
- Joined: Mon Jul 05, 2021 12:23 pm
Make 'window caption' display the title of the bookmark
Hello,
So I know there are some ways to customize the window title, such as the one listed here:
https://www.voidtools.com/support/every ... stomizing/
But is there a way to show the name of the saved bookmark as a window title, instead of the search string itself?
thanks as always for the amazing software.
So I know there are some ways to customize the window title, such as the one listed here:
https://www.voidtools.com/support/every ... stomizing/
But is there a way to show the name of the saved bookmark as a window title, instead of the search string itself?
thanks as always for the amazing software.
Re: Make 'window caption' display the title of the bookmark
Thank you for your feedback YorkMorgan,
Everything doesn't have an 'active bookmark'.
The bookmark is opened and you can immediately change any search options.
Currently, the best way to do this is to use a nop: search.
For example, set your bookmark search to:
nop:"My Bookmark Title" my bookmark search
Unfortunately, this will leave nop: in your search box.
Everything doesn't have an 'active bookmark'.
The bookmark is opened and you can immediately change any search options.
Currently, the best way to do this is to use a nop: search.
For example, set your bookmark search to:
nop:"My Bookmark Title" my bookmark search
Unfortunately, this will leave nop: in your search box.
-
- Posts: 15
- Joined: Mon Jul 05, 2021 12:23 pm
Re: Make 'window caption' display the title of the bookmark
Thanks for your response.
I tried this but it didn't work for me. I'm sure I did something wrong here r didn't understand your instructions.
By the way, in addition to this solution, is there a way to show the search string as the title without " - Everything (1.5a) 1.5.1333a (x64)"
I tried this but it didn't work for me. I'm sure I did something wrong here r didn't understand your instructions.
By the way, in addition to this solution, is there a way to show the search string as the title without " - Everything (1.5a) 1.5.1333a (x64)"
Re: Make 'window caption' display the title of the bookmark
See the ini setting window_title_format
Everything 1.4 window_title_format
Everything 1.5 window_title_format
discussion: viewtopic.php?f=5&t=11942&p=48125
discussion: viewtopic.php?f=4&t=11270#p44934
You can change the titlebar text to show only the search query text, excluding " - Everything (1.5a) 1.5.1333a (x64)"
But I don't know how to make it show "Everything (1.5a) 1.5.1333a (x64)" when there is no search query text; when the search bar is empty.
example: type the searchbar command /window_title_format=$s then press enter.
return to default by typing /window_title_format= then press enter.
Everything 1.4 window_title_format
Everything 1.5 window_title_format
discussion: viewtopic.php?f=5&t=11942&p=48125
discussion: viewtopic.php?f=4&t=11270#p44934
You can change the titlebar text to show only the search query text, excluding " - Everything (1.5a) 1.5.1333a (x64)"
But I don't know how to make it show "Everything (1.5a) 1.5.1333a (x64)" when there is no search query text; when the search bar is empty.
example: type the searchbar command /window_title_format=$s then press enter.
return to default by typing /window_title_format= then press enter.
-
- Posts: 15
- Joined: Mon Jul 05, 2021 12:23 pm
Re: Make 'window caption' display the title of the bookmark
Thanks, I guess that will do for now.
The ideal way would be to show the name/title of the bookmark regardless of the search query itself. But maybe that would be something on the to do list.
Thank you both.
The ideal way would be to show the name/title of the bookmark regardless of the search query itself. But maybe that would be something on the to do list.
Thank you both.
Re: Make 'window caption' display the title of the bookmark
Maybe @void could populate a variable with the most recently selected Bookmark Name, and then clear that variable upon Searchbar edit. Then we can drop that variable into the titlebar when it is a non-empty string. Or he could populate the existing $s variable with the Bookmark Name under the same conditions as above; replaced with the search query if edits to the searchbar are made.
Re: Make 'window caption' display the title of the bookmark
I'll consider it.
Maybe a search command to temporarily set the window caption, until the search changes..
Maybe a search command to temporarily set the window caption, until the search changes..
-
- Posts: 722
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Make 'window caption' display the title of the bookmark
This might represent erroneous data if the bookmark name is duplicated?YorkMorgan wrote: ↑Thu Jan 19, 2023 4:09 pmThe ideal way would be to show the name/title of the bookmark ...
When there are two bookmarks each named "MyFirstBookmark", displaying the bookmark name "MyFirstBookmark" can bring up the wrong idea in the user's head?
Cheers, Chris
-
- Posts: 15
- Joined: Mon Jul 05, 2021 12:23 pm
Re: Make 'window caption' display the title of the bookmark
Hi,
is there a way to achieve this now?
Cheers.
is there a way to achieve this now?
Cheers.
Re: Make 'window caption' display the title of the bookmark
Long anwer: No. ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Make 'window caption' display the title of the bookmark
One issue here is Everything doesn't have an 'active' bookmark.
When you open a bookmark, the search is set, search options are checked and unchecked.
Everything will continue on as if you manually changed the search.
I guess Everything could flag the current search as an 'active' bookmark and clear this when you change your search.
How would you see it working?
When should Everything clear this title from the caption?
Another idea is to allow the user to set a window instance name.
This has not been implemented yet, it is still on my TODO list.
But again, how/when would you clear this name.
Everything shows the active filter in the window caption by default.
Please consider using filters instead of bookmarks.
You can customize the active filter name in your window caption using $filter: in the window_title_format advanced setting.
When you open a bookmark, the search is set, search options are checked and unchecked.
Everything will continue on as if you manually changed the search.
I guess Everything could flag the current search as an 'active' bookmark and clear this when you change your search.
How would you see it working?
When should Everything clear this title from the caption?
Another idea is to allow the user to set a window instance name.
This has not been implemented yet, it is still on my TODO list.
But again, how/when would you clear this name.
Everything shows the active filter in the window caption by default.
Please consider using filters instead of bookmarks.
You can customize the active filter name in your window caption using $filter: in the window_title_format advanced setting.
Re: Make 'window caption' display the title of the bookmark
Experiment with changing the titlebar variable $s to the name of the bookmark instead of the content of the search string, when a bookmark is selected. $s will change next time something is typed into the search bar or another bookmark is selected. I can't envisage a scenario where anyone becomes offended by this.