Quote:
Originally Posted by Vortex
Well thought of BR!
It works but has the same snag as the plugin, it adds a + symbol between each part of the name. So far I haven't been able to find a way to get 'Everything' to ignore them.
A Default title link template sounds like a great idea.
|
That's a sign you are using the wrong plugin. The plugin is building a search string suitable for use as part of a URL and hence the pluses separating each word. All the plugin is doing is building a URL and passing that to the OS to handle in whatever way the OS handles URL. That is why BR's suggestion gets close as the OS knows what to do with the "file:" protocol.
Ideally, this would be an Open With plugin function. But it always passes full filename to the application and doesn't parse the arguments for templates. Adding that probably wouldn't be very hard, but I haven't looked at it*. The alternative would be modifying the Search The Internet plugin to allow different way of opening the generated search string and then a different way of opening the search string. I'd expect that to be more code.
Something that should work with the Search the Internet plugin is use the file: protocol to call a wrapper script rather than the search application directly. The script could change all the + symbols to spaces and add any extra parameters needed before calling the search application.
* chaley: stop rolling your eyes at my glib statement