What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [BETA] MultiSearch v0.5

[BETA] MultiSearch v0.5
Author: Message:
Shondoit
Full Member
***

Avatar
Hmm, Just Me...

Posts: 227
Reputation: 15
36 / Male / Flag
Joined: Jul 2006
O.P. [BETA] MultiSearch v0.5
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?

.plsc File Attachment: MultiSearch.plsc (3.56 KB)
This file has been downloaded 212 time(s).

This post was edited on 09-11-2006 at 06:57 PM by Shondoit.
My scripts:                            [Image: shondoit.gif]
+ Timezone
+ Camelo
+ Multisearch
07-21-2006 04:36 PM
Profile PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: [BETA] MultiSearch v0.5
Shell.run() opens in the default browser anyway.
The previous sentence is false. The following sentence is true.
07-21-2006 10:56 PM
Profile PM Find Quote Report
ddunk
Veteran Member
*****

Avatar

Posts: 1228
Reputation: 51
35 / Male / Flag
Joined: Mar 2004
RE: [BETA] MultiSearch v0.5
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.
07-21-2006 10:56 PM
Profile E-Mail PM Web Find Quote Report
Shondoit
Full Member
***

Avatar
Hmm, Just Me...

Posts: 227
Reputation: 15
36 / Male / Flag
Joined: Jul 2006
O.P. RE: [BETA] MultiSearch v0.5
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
My scripts:                            [Image: shondoit.gif]
+ Timezone
+ Camelo
+ Multisearch
07-21-2006 11:02 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On