Drag n drop?

Have a suggestion for "Everything"? Please post it here.
Post Reply
imcal007
Posts: 20
Joined: Fri Feb 27, 2015 7:17 am

Drag n drop?

Post by imcal007 »

I suffer from c-t-s which means i can`t always type very well.

However i can drag and drop so is it possible to somehow incorp a drag a file or folder into the search bar so that everything can search for that file folder picture etc using drag and drop etc.
void
Developer
Posts: 16756
Joined: Fri Oct 16, 2009 11:31 pm

Re: Drag n drop?

Post by void »

Please try enabling search_edit_drag_accept_files:
  • In Everything, type in the following search and press ENTER:
    /search_edit_drag_accept_files=1
  • Restart Everything:
  • In Everything, type in the following search and press ENTER:
    /restart
imcal007
Posts: 20
Joined: Fri Feb 27, 2015 7:17 am

Re: Drag n drop?

Post by imcal007 »

Thanks, Tried but nothing happens....
void
Developer
Posts: 16756
Joined: Fri Oct 16, 2009 11:31 pm

Re: Drag n drop?

Post by void »

You'll need to restart Everything to apply this change:
  • In Everything, type in the following search and press ENTER:
    /restart
imcal007
Posts: 20
Joined: Fri Feb 27, 2015 7:17 am

Re: Drag n drop?

Post by imcal007 »

Thanks for the replies i do appreciate them, still nothing...
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Drag n drop?

Post by therube »

What OS?
What version of Everything?

Where are you d&d from?
vanisk
Posts: 152
Joined: Sat Oct 27, 2018 11:33 am

Re: Drag n drop?

Post by vanisk »

Is it possible that explorer & everything runs with different privileges? (either one of them runs in Admin mode)?


[btw, the method mentioned above by @void works for me]
video-to-gif.gif
video-to-gif.gif (386.53 KiB) Viewed 18321 times
imcal007
Posts: 20
Joined: Fri Feb 27, 2015 7:17 am

Re: Drag n drop?

Post by imcal007 »

Thanks, retried still nothing, user as administrative rights and program is run as administrator. Windows 10.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Drag n drop?

Post by NotNull »

imcal007 wrote: Thu Oct 17, 2019 3:12 am Thanks, retried still nothing, user as administrative rights and program is run as administrator. Windows 10.
Windows sees that as two different accounts (security-wise).

Try it with these Everything settings:
  • enable Everything Service
  • disable Run as administrator
Both settings can be found under Menu:Tools > Options > General
imcal007
Posts: 20
Joined: Fri Feb 27, 2015 7:17 am

Re: Drag n drop?

Post by imcal007 »

Ok iv'e just reinstalled windows 10, everything now allows drag and drop i don`t know what the issue was but now it works, so thanks.


However i have another issue, when i drag and drop the folder it shows the full path in the search bar is there a way to simply have the folder i dropped to show up so other folders with the same name on my system are shown.

I do appreciate the help.
dfsd23532
Posts: 2
Joined: Tue Apr 10, 2018 11:59 am

Re: Drag n drop?

Post by dfsd23532 »

I'm having the same issue. Drag and drop just randomly stops working.
void
Developer
Posts: 16756
Joined: Fri Oct 16, 2009 11:31 pm

Re: Drag n drop?

Post by void »

Everything might be running as administrator.

Please make sure Everything is installed correctly:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Store settings and data in %APPDATA%\Everything
  • Uncheck Run as administrator.
  • Check Everything Service. (Please make sure this is tick-checked and not square-checked)
  • Click OK.
  • Exit Everything (right click the Everything tray icon and click Exit).
  • Restart Everything.
zaadstra
Posts: 16
Joined: Sat Sep 26, 2020 8:17 pm

Re: Drag n drop?

Post by zaadstra »

I was trying this procedure as I intuitively tried to drag a file into the search today, to search files with the same name (or a part if it).

After the setting and restart, indeed the searchbar accepts drag and drop of files. Cool!

But it does not work as expected: this is shown in the search bar (drag file=forum.txt):
filelist:"D:\Download\Everything\Forum.txt"

Other files of the same name are not found, while they are present in the database.
Service is installed, client running as non-administrator.
void
Developer
Posts: 16756
Joined: Fri Oct 16, 2009 11:31 pm

Re: Drag n drop?

Post by void »

Currently, Everything will try to find the exact file that was dropped.
You will need to edit this text to the basename only manually, eg: "Forum.txt"

I've put on my TODO list: Add an option to format the search-edit-dropped file as the basename only.

Thank you for your suggestion.
byobu
Posts: 4
Joined: Mon Aug 03, 2020 7:55 am

Re: Drag n drop?

Post by byobu »

Great! I'm really looking forward to this feature 8-) Finding duplicate files on my drives should be a lot easier then :D

At the moment I use a batch file with the "SendTo" feature in the file-explorer to search for the marked file.

"C:\Program Files\Everything\Everything.exe" -search "%~n1%~x1"
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Drag n drop?

Post by NotNull »

byobu wrote: Sun Oct 18, 2020 11:27 am "C:\Program Files\Everything\Everything.exe" -search "%~n1%~x1"
Or shorter:

Code: Select all

"C:\Program Files\Everything\Everything.exe" -search "%~nx1"
Post Reply