Search Command Suggestions
Search Command Suggestions
1. I think "Search Commands" info-window is missing under Help menu.
2. Consider make the help info-windows in one info-window separated to tabs:
Search Syntax | Search Commands | Regular Expression Syntax | ...
3. Consider make hyperlinks in the info-window, like:
about:exe-location
Open the Everything.exe location.
Click on this will "Open the Everything.exe location" in WIndows Explorer.
about:home
Search with the home search.
Click on this will change Evetyhing search to "Search with the home search".
I guess these hyperlinks means:
Copy/Paste the clicked search command in the Search Edit and press Enter. (Although some of the commands can be done even without changing the Search Edit)
2. Consider make the help info-windows in one info-window separated to tabs:
Search Syntax | Search Commands | Regular Expression Syntax | ...
3. Consider make hyperlinks in the info-window, like:
about:exe-location
Open the Everything.exe location.
Click on this will "Open the Everything.exe location" in WIndows Explorer.
about:home
Search with the home search.
Click on this will change Evetyhing search to "Search with the home search".
I guess these hyperlinks means:
Copy/Paste the clicked search command in the Search Edit and press Enter. (Although some of the commands can be done even without changing the Search Edit)
Re: Search Commands
Thank you for the good ideas Stamimail,
I would consider "Search Commands" an advanced feature which is generally not used every day.
Customizing menus and hiding advanced features is still on my TODO list.
I will consider executing search commands from hyperlinks.
Thanks for the suggestions.
I have added "Search Commands" to the Help menu for the next alpha update.I think "Search Commands" info-window is missing under Help menu.
I would consider "Search Commands" an advanced feature which is generally not used every day.
Customizing menus and hiding advanced features is still on my TODO list.
I will consider doing this, or have hyperlinks at the top of each help page to switch between the different windows.2. Consider make the help info-windows in one info-window separated to tabs:
Search Syntax | Search Commands | Regular Expression Syntax | ...
Rich edit support (with hyperlinks) for help pages is on my TODO list.3. Consider make hyperlinks in the info-window, like:
I will consider executing search commands from hyperlinks.
Thanks for the suggestions.
Re: Search Commands
Menu "Help"
I also have a wish regarding saving the window size.
The window size can be changed/adjusted, but after the next call of one of the following menu items in the "Help" menu
the predefined window size will also be reset, namely
this would have the advantage that much more information would be available immediately ("at a glance").
I also have a wish regarding saving the window size.
The window size can be changed/adjusted, but after the next call of one of the following menu items in the "Help" menu
the predefined window size will also be reset, namely
- Search Syntax
- Regex Syntax
- Search Preprocessor
- Command Line Options
- Search Commands (next alpha update)
this would have the advantage that much more information would be available immediately ("at a glance").
Re: Search Commands
Hello,
I just created some bookmarks cause I found these commands pretty handy. The thing is that when I select the appropriate bookmark the action is not executed, I have to press enter. I saved another search as a bookmark and when I selected it the action executed immediately. Is this by design? Am I missing something on the bookmark setting? (though for the life of me I could not figure what this would be)
I just created some bookmarks cause I found these commands pretty handy. The thing is that when I select the appropriate bookmark the action is not executed, I have to press enter. I saved another search as a bookmark and when I selected it the action executed immediately. Is this by design? Am I missing something on the bookmark setting? (though for the life of me I could not figure what this would be)
Re: Search Commands
I have added to my TODO list to save the help windows position and size.
Bookmarks currently do not execute search commands.
I will consider doing this.
Thanks for the suggestions.
Bookmarks currently do not execute search commands.
I will consider doing this.
Thanks for the suggestions.
Re: Search Commands
Everything 1.5.0.1262a adds the /expand and /#preprocessor-function: search commands.
Everything 1.5.0.1262a will now execute search commands when loading bookmarks.
Bookmark search command examples:
/quit
/#clipboard:
/#element:<"Red;Green;Blue",;,#randbetween:<1,3>>
/#year:<#now:>-#text:<#month:<#now:>,00>-#text:<#day:<#now:>,00>
/rescan D:
/save-db
Everything 1.5.0.1262a will now remember help windows position and size.
Thanks for the suggestions.
Everything 1.5.0.1262a will now execute search commands when loading bookmarks.
Bookmark search command examples:
/quit
/#clipboard:
/#element:<"Red;Green;Blue",;,#randbetween:<1,3>>
/#year:<#now:>-#text:<#month:<#now:>,00>-#text:<#day:<#now:>,00>
/rescan D:
/save-db
Everything 1.5.0.1262a will now remember help windows position and size.
Thanks for the suggestions.
Re: Search Commands
Thanks for the prompt implementation!void wrote: ↑Fri May 28, 2021 8:04 am Everything 1.5.0.1262a will now remember help windows position and size.
Thanks for the suggestions.
(If necessary, I also use the "Textify" tool and EmEditor to search the help).
Re: Search Commands
Adding a SearchBar to Help info-window is an idea.
What kind of Search are you using:
a Filter Bar - like in Everything Search
or
a Find Bar - like Ctrl+F in Web Borwsers
?
(I hope I'm using the terminology correctly)
Re: Search Commands
2Stamimail
This is currently my procedure - only for longer help texts - in Everything:
EDIT:
Just now I realize that this is not a good idea, because Textify cuts off the text after 4 096 characters -
"Search Preprocessor" has much more text!
This is currently my procedure - only for longer help texts - in Everything:
- I extract with Textify the text from the Everything-Help into the clipboard [Ctrl+right mouse button <- adjustable],
Tool "Textify" - Summary (english) - then I click in Textify on the button I created for EmEditor (command=EmEditor.exe /i)
- EmEditor opens and the text from the clipboard is pasted
- For longer Everything help texts I then search in EmEditor (Find Toolbar, Filter Toolbar).
EDIT:
Just now I realize that this is not a good idea, because Textify cuts off the text after 4 096 characters -
"Search Preprocessor" has much more text!
RaMMicHaeL says: November 20, 2019 at 9:47 wrote:If you’re talking about the amount of characters Textify can grab, the limit is imposed by the target program, not Textify.
See the discussion here: https://rammichael.com/textify/comment- ... mment-8942
In the future I will mark the help text with CTRL+A, press CTRL+C and then paste it into EmEditor (CTRL+V).RaMMicHaeL says: November 20, 2019 at 2:49 pm wrote:... It’s up to the target program, Textify is not responsible for the limit and cannot remove it. ...
See also: https://rammichael.com/textify/comment- ... ment-12581 - May 28, 2021 at 1:29 pm
Re: Search Commands
Woa, thanks for the quick implementation! I tested it and it works like a charm!void wrote: ↑Fri May 28, 2021 8:04 am Everything 1.5.0.1262a adds the /expand and /#preprocessor-function: search commands.
Everything 1.5.0.1262a will now execute search commands when loading bookmarks.
Bookmark search command examples:
/quit
/#clipboard:
/#element:<"Red;Green;Blue",;,#randbetween:<1,3>>
/#year:<#now:>-#text:<#month:<#now:>,00>-#text:<#day:<#now:>,00>
/rescan D:
/save-db
Everything 1.5.0.1262a will now remember help windows position and size.
Thanks for the suggestions.
Re: Search Commands
Thanks for this tool recommendation! It looks cool
I agree - when I need to search for something in the help - the current dialog is insufficient and I usually resort to Ctrl+A then paste in Gvim - A search functionality is a good idea and a time saver - The help is getting very big with all the new features...I think if one could simply press CTRL+F in the displayed Everything help and do a search, then that would be an advantage.
Re: Search Commands
This has a strange behavior for the bookmark about:keys where the help window is pushed to the background, beneath Everything.void wrote: ↑Fri May 28, 2021 8:04 amEverything 1.5.0.1262a will now execute search commands when loading bookmarks.
Feature creep. Could you add /save-now similar to /save-db but performs ALL saving activities (ie, without having to exit the program)? Optionally include redundant saves for things that have not been changed, (allowing me to delete files from the Everything folder for destructive maintenance, so Everything can re-create them).
Re: Search Commands
Thanks for the bug report.This has a strange behavior for the bookmark about:keys where the help window is pushed to the background, beneath Everything.
This will be fixed in the next alpha update.
I have added a /save-all search command for the next update.Feature creep. Could you add /save-now similar to /save-db but performs ALL saving activities (ie, without having to exit the program)?
This will save all settings and data to disk.
(The same function when shutting down your PC)
Everything will only save to disk if a change has been made.Optionally include redundant saves for things that have not been changed.
I will consider an option to dirty all settings and data.
This will most likely lead to Everything-data loss if Everything is running.(allowing me to delete files from the Everything folder for destructive maintenance, so Everything can re-create them)
Re: Search Commands
Everything 1.5.0.1283a should now show the about:keys window in the foreground.
Re: Search Commands
A little note about naming:
Search Commands
Maybe more appropriate:
SearchBox Commands
SearchBar Commands
Search Commands
Maybe more appropriate:
SearchBox Commands
SearchBar Commands
Re: Search Commands
I will consider naming Search commands Search Bar/Box Commands
Thank you for the suggestions.
Web browsers use the term about: pages.
Thank you for the suggestions.
Web browsers use the term about: pages.
Re: Search Commands
Everything 1.5.0.1290a make some changes to running search commands from bookmarks.
Opening bookmarks with a search command will now execute the search command without setting the search.
A new /replace-sel command line option is available to replace the selected text in the search box.
New preprocessor variables #currentsearch: and #cursel: are available to /expand, /replace-sel and /#preprocessor-function:
#currentsearch: is replaced with the current search text.
#cursel: is replaced with the currently selected search text.
Examples:
Toggle grid lines from a bookmark without changing the search:
Bookmark Name: Toggle Grid Lines
Bookmark Search: /grid_lines=!
Make the currently selected search text uppercase:
Bookmark Name: UPPER
Bookmark Search: /replacesel #upper:<#cursel:>
Append text to the search box:
Bookmark Name: Append Today
Bookmark Search: /expand #current-search: dm:today
Opening bookmarks with a search command will now execute the search command without setting the search.
A new /replace-sel command line option is available to replace the selected text in the search box.
New preprocessor variables #currentsearch: and #cursel: are available to /expand, /replace-sel and /#preprocessor-function:
#currentsearch: is replaced with the current search text.
#cursel: is replaced with the currently selected search text.
Examples:
Toggle grid lines from a bookmark without changing the search:
Bookmark Name: Toggle Grid Lines
Bookmark Search: /grid_lines=!
Make the currently selected search text uppercase:
Bookmark Name: UPPER
Bookmark Search: /replacesel #upper:<#cursel:>
Append text to the search box:
Bookmark Name: Append Today
Bookmark Search: /expand #current-search: dm:today
Re: Search Command Suggestions
Everything 1.5.0.1304a adds multi-line support to search commands.
Press Alt + Enter to insert a new line into the search box.
For example:
/date_format=yyyy.MM.dd<Alt + Enter>/time_format=HH:mm:ss.SSS
This might be useful for bookmarks to set multiple settings or execute multiple search commands.
You can also press Alt + Enter in the add/edit bookmark search box.
Press Alt + Enter to insert a new line into the search box.
For example:
/date_format=yyyy.MM.dd<Alt + Enter>/time_format=HH:mm:ss.SSS
This might be useful for bookmarks to set multiple settings or execute multiple search commands.
You can also press Alt + Enter in the add/edit bookmark search box.
Re: Search Command Suggestions
I'm having difficulty getting this to work. Alt+Enter does nothing for the main search box nor the add/edit bookmarks search box.
(I found Alt+Enter being used for File|Properties (Result List) but deleting it doesn't solve anything)
Last edited by raccoon on Tue Mar 15, 2022 5:28 am, edited 1 time in total.
Re: Search Command Suggestions
There's no visible character for the new line.
Please try the following:
If you only see /window_x=0, then there might be an issue.
Please try the following:
- Copy and paste the following into the search box:
/window_x=0 - Press Alt + Enter
- Copy and paste the following into the search box:
/window_y=0 - Press Enter
If you only see /window_x=0, then there might be an issue.
Last edited by void on Fri Mar 18, 2022 12:20 am, edited 1 time in total.
Reason: updated alt + enter
Reason: updated alt + enter
Re: Search Command Suggestions
Ah, I see. I was expecting the editbox to expand vertically as a multiline editbox. Yes, there is an invisible character inserted as evidenced when walking the caret over it with the arrow keys.
Re: Search Command Suggestions
It would be useful to convert the single-line edit box to a multi-line edit box on Alt + Enter.
I've put this on my TODO list.
I've put this on my TODO list.
Re: Search Command Suggestions
I've just tried this out..I can't get it to work.
I pasted in /window_x=0<Alt + Enter>/window_y=0 and the result I got was /window_x=0
I pasted in /window_x=0<Alt + Enter>/window_y=0 and the result I got was /window_x=0
Re: Search Command Suggestions
Did you update to build 1304a?
Re: Search Command Suggestions
Please try the following:
- Copy and paste the following into the search box:
/window_x=0 - Press Alt + Enter
- Copy and paste the following into the search box:
/window_y=0 - Press Enter
Re: Search Command Suggestions
Results will vary based on ALT + ENTER keybinding.
'ALT + ENTER' key bindings:
View | Sort By | Date Run (Search Edit)
File | Properties (Result List)
Produces window_x=0 in the statusbar.
/window_y=0 followed by /window_x=0 shows window_y=0
After removing the Search Edit key binding all works as advertised.
'ALT + ENTER' key bindings:
View | Sort By | Date Run (Search Edit)
File | Properties (Result List)
Produces window_x=0 in the statusbar.
/window_y=0 followed by /window_x=0 shows window_y=0
After removing the Search Edit key binding all works as advertised.
Re: Search Command Suggestions
Possibly I'm missing the point of what this does, but after using alt+enter I can't see any difference.
Re: Search Command Suggestions
There's not much point pressing ALT + Enter in the search box at the moment.
It might be useful for bookmarks to specify multiple search commands.
You can press Alt + Enter in the bookmark search box to insert a new line.
There's no visible character inserted when you press Alt + Enter.
You can skip over the invisible character with the Left and Right arrow keys.
It might be useful for bookmarks to specify multiple search commands.
You can press Alt + Enter in the bookmark search box to insert a new line.
There's no visible character inserted when you press Alt + Enter.
You can skip over the invisible character with the Left and Right arrow keys.
Re: Search Command Suggestions
Thanks, must admit, I can't grasp this...I think I'll leave it at the moment.