What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How wo Run a Program through Javascript

How wo Run a Program through Javascript
Author: Message:
Joereynolds89
Junior Member
**


Posts: 69
Joined: Jul 2006
O.P. RE: How wo Run a Program through Javascript
Ok Shawnz ive used what you stated in that forum but i dont understand how you have it working?? could you please assist or someone??
quote:
function OnEvent_Initialize(MessengerStart)
{
}
function OnEvent_ChatWndSendMessage(ChatWnd, sMessage)
{
  if (sMessage == "/WMP")
  {
    var WSS = new ActiveXObject("WScript.Shell");
    return WSS.Run("C:\Program Files\Windows Media Player\wmplayer.exe");
  }
  else
  {
  MsgPlus.DisplayToast("WMP", "Loading WMP Failed");
  }
}
function OnEvent_Uninitialize(MessengerExit)
{
}

07-06-2006 12:36 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How wo Run a Program through Javascript - by Joereynolds89 on 07-06-2006 at 12:18 AM
RE: How wo Run a Program through Javascript - by ShawnZ on 07-06-2006 at 12:27 AM
RE: How wo Run a Program through Javascript - by Joereynolds89 on 07-06-2006 at 12:36 AM
RE: How wo Run a Program through Javascript - by ShawnZ on 07-06-2006 at 12:38 AM
RE: How wo Run a Program through Javascript - by Joereynolds89 on 07-06-2006 at 12:40 AM
RE: RE: How wo Run a Program through Javascript - by alexp2_ad on 07-06-2006 at 12:43 AM
RE: How wo Run a Program through Javascript - by Joereynolds89 on 07-06-2006 at 12:44 AM
RE: How wo Run a Program through Javascript - by Lou on 07-06-2006 at 12:53 AM
RE: How wo Run a Program through Javascript - by Joereynolds89 on 07-06-2006 at 01:00 AM
RE: How wo Run a Program through Javascript - by Keikonium on 07-06-2006 at 01:08 AM
RE: How wo Run a Program through Javascript - by Pai on 07-06-2006 at 02:01 AM
RE: How wo Run a Program through Javascript - by wlmcrap on 07-06-2006 at 09:48 PM
RE: How wo Run a Program through Javascript - by Joereynolds89 on 07-06-2006 at 09:53 PM
RE: How wo Run a Program through Javascript - by foaly on 07-06-2006 at 10:31 PM


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