Problem when editing file names in the result table

Discussion related to "Everything" 1.5 Alpha.
Post Reply
docjc
Posts: 5
Joined: Sat Oct 22, 2016 3:51 pm

Problem when editing file names in the result table

Post by docjc »

Hi,

there is a problem editing filenames in the result table:

- doubble clicking a word will highlight this word, moving the mouse cursor to the next word with pressed left button will not highlight the next word which is normal in version 1.4

rgs
JC
void
Developer
Posts: 15274
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem when editing file names in the result table

Post by void »

I see, while holding down the left mouse button (after double clicking), Everything is not selecting the next/previous words.

Thanks for the bug report.
I am working on a fix.

search_edit_double_click_select_word controls the new functionality.

For now, if you wish to disable search_edit_double_click_select_word:
  • In Everything 1.5, type in the following search and press ENTER:
    /search_edit_double_click_select_word=0
  • if successful, you should see search_edit_double_click_select_word=0 in the status bar for a few seconds.
docjc
Posts: 5
Joined: Sat Oct 22, 2016 3:51 pm

Re: Problem when editing file names in the result table

Post by docjc »

Hi,
Thanks for the quick answer....

Just another idea:

would it be possible to get the Everything search in the right button menu (Windows 10) if I have maybe 2 words in a text highlighted and I want to search for the respective files?? (I hope you understand what I mean ;) )

rgs
JC
NotNull
Posts: 5252
Joined: Wed May 24, 2017 9:22 pm

Re: Problem when editing file names in the result table

Post by NotNull »

With "right button menu", you mean the context menu?

There are options, but it all depends on .. the context ;)
File Explorer, PhotoShop, Notepad and your webbrowser all have entirely different context menu's.

If this is about web browsers: that is possible.

For other applications you probably need some (AutoHotKey, AutoIT or similar) script.
docjc
Posts: 5
Joined: Sat Oct 22, 2016 3:51 pm

Re: Problem when editing file names in the result table

Post by docjc »

Hi,
you are right, I mean the context menu. This is working for other programs like EZ CD converter or Notepad++.

Thank you for the hints, I will try some of the script programs

rgs
JC
void
Developer
Posts: 15274
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem when editing file names in the result table

Post by void »

Everything 1.5.0.1260a fixes an issue with double click text selection.
NotNull
Posts: 5252
Joined: Wed May 24, 2017 9:22 pm

Re: Problem when editing file names in the result table

Post by NotNull »

docjc wrote: Thu May 20, 2021 12:57 pm , I will try some of the script programs
To get you going, a straightforward AutoHotKey script. Select some text in Notepad++, press ALT+Z and Everything will open with that text in the search bar. Needs more finetuning, but to give you some inspiration.

Code: Select all

#If WinActive("ahk_exe notepad++.exe") || WinActive("ahk_exe your_other_program.exe")
!Z::
{
	ClipSaved := ClipboardAll
	Clipboard := ""
	SendInput ^c
	ClipWait, 0.5
	Run, C:\Program Files\Everything 1.5a\Everything64.exe -search "%Clipboard% "
	Clipboard := ClipSaved
}

#If
docjc
Posts: 5
Joined: Sat Oct 22, 2016 3:51 pm

Re: Problem when editing file names in the result table

Post by docjc »

@ void

thank you for the info and the fix ;)

@ NotNull

thank you for your inspiration ;) very helpful for me I'll try and will come back with my impression

have a nice weekend

jc
void
Developer
Posts: 15274
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem when editing file names in the result table

Post by void »

would it be possible to get the Everything search in the right button menu (Windows 10) if I have maybe 2 words in a text highlighted and I want to search for the respective files?? (I hope you understand what I mean ;) )
Currently, there's no way to do this with clobbering the clipboard.

You would need a plugin for your text editor to launch Everything and set the search to the selected text.
NotNull
Posts: 5252
Joined: Wed May 24, 2017 9:22 pm

Re: Problem when editing file names in the result table

Post by NotNull »

void wrote: Mon May 24, 2021 7:13 am Currently, there's no way to do this with clobbering the clipboard.
Using the clipboard is the most universal way, but there are other options, like the following POC (proof of concept):

Code: Select all

#If WinActive("ahk_exe notepad++.exe") 
!Z::
{
	ControlGet, $text, Selected, , Scintilla1, A
	Run, C:\Program Files\Everything 1.5a\Everything64.exe -search "%$text% "
}

#If
void wrote: Mon May 24, 2021 7:13 am plugin for your text editor
I tried replacing Notepad++'s default search engine (Google) with Everything's URL protocol (ES:), but Notepad++ was not clever enough to understand that. That would hve been an easy alternative.
Post Reply