View Single Post
Old 05-02-2015, 07:27 AM   #261
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Vortex View Post
Thanks for trying that out, David.

Using the exact settings as above, I get the 'Everything' error message:

Unable to open file list: C:\Users\-\Desktop\-search <Authors Name> <Book Title> is not a valid file list.

Which is odd as neither the book nor 'Everything' are located on the desktop.

If I remove all the Args so the box is empty, it then opens an empty Everything search box.
OK, I'm not surprised there was a problem, but I wasn't expecting that. I have installed Everything search so that I can do the testing properly.

The plugin was not building the command line in the way I thought. I have attached a version that fixes this. When creating the Open With entry, the search string must be enclosed in quotes. So, set the "Args" to something like:

-search "{authors}"

Quote:
The (Search the Internet) plugin cant seem to handle any filename with spaces, so as it is above it does nothing. If I change the file location to one with no spaces and remove the Args after the .exe then it will open 'Everything' with no search term passed. Putting anything after the .exe stops even that from working.
Yes, because it is building a URL and they cannot have spaces in them.
Quote:
Using the webrun: protocol ( http://www.webrunapps.com/ ), which is the same idea as the AHK solution that Chaley suggested:

webrun:C:\Everything\Everything.exe -s {title}

That opens everything with the search term passed but with + symbols between every term. If I put title (and/or author) into double quotes it gives the error "not a valid file list"
Again, because it is building a URL and they cannot have spaces in them. And + symbol is usually used to connect search terms in a search URL.
Quote:

My next idea was to use some kind of intermediary like a batch file to send the search term to, clean out the + symbols and then pass it on to 'Everything'.
Yes that should work.
Attached Files
File Type: zip Open With-beta2.zip (104.8 KB, 542 views)
davidfor is offline   Reply With Quote