[Release] +Search (Version 1.2) - 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: [Release] +Search (Version 1.2) (/showthread.php?tid=69903) [Release] +Search (Version 1.2) by Spunky on 12-25-2006 at 10:52 PM
I've had a depressing xmas so I've been scripting RE: [Release] +Search (Version 1.0) by Plan-1130 on 12-25-2006 at 11:28 PM
Wow, good script, just a few suggestion to keep you working : RE: [Release] +Search (Version 1.0) by CookieRevised on 12-26-2006 at 12:33 AM
[OFF TOPIC] quote:Adding search engines, or shortcuts to the search engines, or changing the default search engine, isn't new to MSIE7, this is already possible in MSIE6 too... What might be new is the UI in MSIE7 for this, but other than that it was already possible since a long long time [/OFF TOPIC] RE: [Release] +Search (Version 1.0) by Spunky on 12-26-2006 at 04:54 PM
quote: Fair enough, I was just trying to explain it in a way most people would understand (Most people I know that use the internet use IE and it'd best to give an example they can relate to). I knew it was possible in other browsers, but wouldn't really say the feature was used a lot in IE6 quote: That'd only work with pre-defined browsers as I'd need to assign a command to each one. I'm already working on the other suggestion, but results won't be returned in the chat window (I HATE shared search) RE: RE: [Release] +Search (Version 1.0) by markee on 12-27-2006 at 05:21 AM
quote: You could actually do this by checking the command against a variable and writing to an xml with every addition. It is very possible to do, the only problem is double ups of commands. Just you have to use arrays or the likes for the process and use something like Cooke's command finder thing using RegExp to get the command and params. If you need a hand then just ask and I'll take a look. RE: RE: [Release] +Search (Version 1.0) by CookieRevised on 12-27-2006 at 05:35 AM
quote:No... You/script don't need to do anything. It's the user who needs to define a command for it, but that is actually just the same. Making commands in scripts is nothing more than sending some text to Plus! (to make them visible in the command helper window) and to check on the entered message in the chat window (to see if it is a command which your script reconizes). But there is no difference between pre-defined commands and commands added by the user within your script, other than the latter being variable strings instead of pre-defined strings.... A statement like: If (message === "/mycommand") {} is just the same as var usercommand = "/mycommand" If (message === usercommand) {} The only difference being that you can change usercommand on the fly before doing the check because it is a variable (and thus read it from the user settings of the script for example; which also doesn't _need_ to be XML as markee suggested, it can be anything from the registry to a text file). RE: [Release] +Search (Version 1.2) by Spunky on 07-18-2007 at 04:09 PM
I was already thinking of making a script with "dynamic" commands so it may as well be this one Just to update, I've been doing some work on this through the night and the only thing left to do is to make ComboBox control update (which as far as I can tell, means emptying it and re-adding all the elements). It is now possible to change the commands for all exisiting search engines. I do need to make a slight modification though so that new entries aren't left blank, but rather must be filled in when it is added Updated to fix a few bugs... Adding preferences and dynamic commands shortly Sorry to double post, but theres a new update to the script |