Deleting old while pasting new

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
cfredc
Posts: 13
Joined: Mon Jun 10, 2013 6:37 pm

Deleting old while pasting new

Post by cfredc » Mon Jun 11, 2018 5:50 pm

My old XP computer automatically deletes my previous search text as I paste my new text.

My new Win10 computer requires me to delete the old text before pasting the new.

Can I automatically delete? (Results - Clear Selection on Search does not do this.)

And, by the way, if I could drag and drop search text, life would be easier.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Deleting old while pasting new

Post by NotNull » Mon Jun 11, 2018 8:25 pm

Do you have Select search on mouse click disabled on your Win10 machine?
(under Menu:Tools > Options > General >UI )

cfredc
Posts: 13
Joined: Mon Jun 10, 2013 6:37 pm

Re: Deleting old while pasting new

Post by cfredc » Mon Jun 11, 2018 8:43 pm

Thanks NOTNULL, I checked and it was enabled. I tried disabling it, no change. I then enabled it again, no change.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Deleting old while pasting new

Post by NotNull » Mon Jun 11, 2018 8:58 pm

Then I probably don't understand what you want.

Could you explain differently or post a screenshot (if that helps)?

EDIT: Or do you mean that when you click with the mouse in the search bar, your previous search query is selected (=highlighted in blue) and when you start typing a new query, the old query disappears and you get just the new one?

There is an INI entry for that, but if you did a fresh install of Everything, that entry should be OK (select_search_on_focus_mode=1)

therube
Posts: 2453
Joined: Thu Sep 03, 2009 6:48 pm

Re: Deleting old while pasting new

Post by therube » Tue Jun 12, 2018 12:45 am

When you highlight (or jump to) the search bar, is cursor position at the end of existing text or is the existing text highlighted in its entirety?
(Does Everything have an option to determine "insertion point"?)

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

Re: Deleting old while pasting new

Post by void » Tue Jun 12, 2018 7:29 am

Can you please give some examples of what you would like?

You will need to manually select all the text before pasting to overwrite all the existing text (Ctrl + A + V).

To enable drag-dropping files on to the search edit:
  • In Everything, type in the following search and press ENTER:
    /search_edit_drag_accept_files=1

cfredc
Posts: 13
Joined: Mon Jun 10, 2013 6:37 pm

Re: Deleting old while pasting new

Post by cfredc » Tue Jun 12, 2018 2:38 pm

Abandoning reasoning, I tried simply comparing the Options on the two PCs.
Enabling:
UI - Focus search on activate
fixed my problem.

As to the ability to drag and drop Firefox TEXT into the Search Bar, I tried /search_edit_drag_accept_files=1 - but it had no effect. Isn’t that just for dragging files from Windows Explorer?

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Deleting old while pasting new

Post by NotNull » Tue Jun 12, 2018 3:18 pm

cfredc wrote: As to the ability to drag and drop Firefox TEXT into the Search Bar, I tried /search_edit_drag_accept_files=1 - but it had no effect. Isn’t that just for dragging files from Windows Explorer?
There might be an alternative for that! There are several threads about a Firefox-Everything connection. Bottomline: Select some text in Firefox; press a 'button' and Everything will pop-up wit this text in the search bar.

Those threads are a bit chaotic, so here are the steps to get that working:


In Everything
  • Enable URL protocol (Menu:Tools > Options > General)
In Firefox
  • Enable the Bookmark toolbar (Menu:View > Toolbars > Bookmark Toolbar)
  • Right-click on an empty part of that toolbar and choose New Bookmark
  • Enter javascript:location.href='es:'+document.getSelection();void(0); for the location, like this:
    2018-06-12 17_02_03-Properties for “Everything”.png
  • Save
  • Done
To search for the text you selected in Firefox, just click on the Everything button.
That's all.
You do not have the required permissions to view the files attached to this post.
Last edited by NotNull on Sun Jul 21, 2019 1:31 pm, edited 3 times in total.

cfredc
Posts: 13
Joined: Mon Jun 10, 2013 6:37 pm

Re: Deleting old while pasting new

Post by cfredc » Tue Jun 12, 2018 7:34 pm

Thanks Not Null, but I don't understand what I am supposed to do with :

Enter
Code: Select all

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

Re: Deleting old while pasting new

Post by Stamimail » Tue Jun 12, 2018 8:29 pm

@cfredc
Just make it like you see in the image above.
Can you do this?

cfredc
Posts: 13
Joined: Mon Jun 10, 2013 6:37 pm

Re: Deleting old while pasting new

Post by cfredc » Tue Jun 12, 2018 8:39 pm

Yes, my Properties box looks ike that, but when I select text and then click the button, all I get is a Firefox page that says:

The address wasn’t understood

Firefox doesn’t know how to open this address, because one of the following protocols (es) isn’t associated with any program or is not allowed in this context.

You might need to install other software to open this address.

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

Re: Deleting old while pasting new

Post by Stamimail » Tue Jun 12, 2018 8:59 pm

It works for me. Please ensure you have in Eveything Options (Menu:Tools > Options > General):
[v] URL protocol

Restart Everything

cfredc
Posts: 13
Joined: Mon Jun 10, 2013 6:37 pm

Re: Deleting old while pasting new

Post by cfredc » Tue Jun 12, 2018 9:09 pm

Yes, that's it - it works perfectly. Thanks very much, it makes a real difference for my work.

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Deleting old while pasting new

Post by NotNull » Thu Jun 14, 2018 2:25 pm

Ah, you missed step 1. I changed the layout of the steps a little, to make it clearer (for someone else reading this in the future).

Post Reply