What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Quick Browser

Pages: (2): « First [ 1 ] 2 » Last »
Quick Browser
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. Quick Browser
Just made this script and though some people may find it handy... I've not seen anything like it around on the forums so... y'know lol

/ie - Opens link in Internet Explorer
/ff - Opens link in FireFox

Examples:
/ff hotmail.com
/ff http://shoutbox.menthix.net
/ie google.co.uk
/ie http://www.msgpluslive.net

Also, could this not be used to open the users Inbox in FF? Just leave the account signed in and then open it in FF using this method (from a button or something though obviously)

code:
var Shell = new ActiveXObject("WScript.Shell");

function OnEvent_ChatWndSendMessage(ChatWnd, Message){
      if(Message.substr(0,3)=="/ie"){
            Shell.run("iexplore "+Message.substr(4,Message.length));
             return "";
      }
      if(Message.substr(0,3)=="/ff"){
            Shell.run("firefox "+Message.substr(4,Message.length));
            return "";
      }
}


EDIT: Update after Eljay's Comments :p

This post was edited on 11-22-2006 at 03:17 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
11-22-2006 03:07 PM
Profile PM Find Quote Report
EBFL
Full Member
***

Avatar
;o

Posts: 486
Reputation: 67
32 / Male / Flag
Joined: Oct 2006
RE: Quick Browser
Nice ;)
Mainly will use
/ff http://shoutbox.menthix.net/index.php :P

This post was edited on 11-22-2006 at 03:10 PM by EBFL.
I'm awesome

11-22-2006 03:08 PM
Profile PM Find Quote Report
Kenji
Veteran Member
*****

Avatar
Previously: Dazmatic, Dazzy, :zippy:

Posts: 1226
Reputation: 39
33 / Male / Flag
Joined: Jun 2006
Status: Away
RE: Quick Browser
What about other browsers?

nice script though.
11-22-2006 03:10 PM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Quick Browser
Just executing the url makes it open in the default browser, not necessarily IE. For it to always open in IE guaranteed you need to put iexplore before it (like you have done for firefox).
11-22-2006 03:12 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: Quick Browser
quote:
Originally posted by Dazmatic
What about other browsers?

Well, I don't use any others, but it shows you the method to run them. it's the same as Going "Start" > "Run" > "firefox <URL>"... I think you might be able to do it with Opera and a few others (not sure though)
<Eljay> "Problems encountered: shit blew up" :zippy:
11-22-2006 03:12 PM
Profile PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: Quick Browser
quote:
Originally posted by SpunkyLoveMuff
Shell.run("http://www."+Message.substr(4,Message.length));
Not everyone has IE as their default browser 8-).
code:
"\Program Files\Internet Explorer\iexplore.exe" http://www.feluowns.com

Moreover why not type the link in the editbox and click it? It'll open the link in default browser [Image: msn_tongue.gif].

This post was edited on 11-22-2006 at 03:16 PM by Felu.
11-22-2006 03:12 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: Quick Browser
quote:
Originally posted by -!Felu!-
It'll open the link in default browser

What if you don't want it use the defualt browser?
<Eljay> "Problems encountered: shit blew up" :zippy:
11-22-2006 03:12 PM
Profile PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: Quick Browser
quote:
Originally posted by SpunkyLoveMuff
Shell.run("iexplore "+Message.substr(4,Message.length));
That too won't work [Image: msn_tongue.gif]. Use
quote:
Originally posted by -!Felu!-
"\Program Files\Internet Explorer\iexplore.exe" http://www.feluowns.com

I don't mean to advertise [Image: msn_tongue.gif]
11-22-2006 03:23 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: Quick Browser
quote:
Originally posted by -!Felu!-
That too won't work

How will it not work? It does work. Certain programs open just by entering the name...

WINWORD - Word
MSPAINT - Paint
CALC - Calculator
IEXPLORE - IE

The only time you (should) ever need to specify the full path is if it's not default (even then I don't think you need to) and if it's not in the default path, entering the path you gave would be incorrect ^o)
<Eljay> "Problems encountered: shit blew up" :zippy:
11-22-2006 05:29 PM
Profile PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: RE: Quick Browser
[Image: attachment.php?pid=756756]

Is it only my computer :unidecided:?

.gif File Attachment: iexplore.gif (5.31 KB)
This file has been downloaded 790 time(s).

This post was edited on 11-24-2006 at 11:27 AM by Felu.
11-24-2006 11:26 AM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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