Shoutbox

[BETA] MultiSearch v0.5 - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [BETA] MultiSearch v0.5 (/showthread.php?tid=63735)

[BETA] MultiSearch v0.5 by Shondoit on 07-21-2006 at 04:36 PM

This script isn't updated anymore, you may use and change this code as you like, as long as you mention my name


In reply to a request in this thread for a MultiSearch tool, I created one now...

All updates are underlined...

Its really easy, in my opinion:
/search /enginename:groupname /searchstring: Search for "Searchstring" with the specified searchengine, multiple can be used, seperated by a comma. The enginename can be left out, it will search with every engine available
/searchadd /enginename:goupname /url: Add a searchengine, %s will be replaced by the searchstring.
/searchedit is the same, but changes an existing engine
/searchdelete /enginename:groupname: deletes an engine (d'oh)
/searchlist shows all available engines
Do not forget the [/] slashes before an enginename or searchstring
/searchreload: Reloads all standard engines, and clears the custom ones

Grouping and Multiple Engines
An asterisk in the enginename:groupname pair will match multiple engines or groups, like *oogle:Web will match Google:Web and Froogle:Web (this is not a standard engine)
If an enginename or groupname is left out, it will match every group in that engine, or every engine in that group, like Google: will match Google:Web, Google:Image and Google:Video. :Image will match Google:Image and AltaVista:Image, you could also write *:Image.
When only an enginename is specified, it will search with the standard group of that engine, like Google will match only Google:Web
You can match multiple groups and engines by seperating them with a comma

A few examples:
Search for Script websites with all engines
/Search /:Web /Script

Search for Java with every Google engine
/Search /Google: /Java

Search for MSN with the AltaVista standard group
/Search /Altavista /MSN
Notice the absence of the colon, if a colon was written, it will search with all groups, like in the example above

Search for Titanic with Torrent and Video searchengines
/Search /:Torrent,:Video /Titanic

There are currently 20 standard engines available

[ToDo]
Add more engines (torrents)
Add groups, I.E. Web, Image, Video, Torrents, etc

Add GUI

please give your comment, tell me what groups you'd like to see, wich engines should be added. Also everything you'd like to see added is welcome

AND MOST IMPORTANT OF ALL: Can someone check if it works when FireFox or Netscape is the standard browser?
RE: [BETA] MultiSearch v0.5 by segosa on 07-21-2006 at 10:56 PM

Shell.run() opens in the default browser anyway.


RE: [BETA] MultiSearch v0.5 by ddunk on 07-21-2006 at 10:56 PM

quote:
Originally posted by Shondoit
AND MOST IMPORTAN OF ALL: Can someone check if it works when FireFox or Netscape is the standard browser?
No, it doesn't. However, you don't need to do a default browser check.
code:
new ActiveXObject("WScript.Shell").run(url);
automatically opens the URL in the default browser.
RE: [BETA] MultiSearch v0.5 by Shondoit on 07-21-2006 at 11:02 PM

Exactly what I thought, but when you pass the Url with Shell.Run it opens as if it were a .url, that means, at least in my case, that it opens in an existing Browser window. When you do a multiple search, all engines will use one window, leaving the previous engine behind, at the end you will have only one engine left

Try this code:
Shell.run("http://www.google.com")
Shell.run("http://www.altavista.com")

It will open a new window with google, and altavista will open in the newly created window, discarding the google page...


Browser check is necisary, or whatever way you may write that word