What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Run Windows Media Player from WLM

Run Windows Media Player from WLM
Author: Message:
wlmcrap
Junior Member
**

Avatar
David

Posts: 71
Reputation: -6
30 / Male / –
Joined: Jul 2006
O.P. Run Windows Media Player from WLM
Hi,

I was wondering if somebody could please make a simple script so that when I type "/wmp" Windows Media Player will open. :)
07-05-2006 11:36 PM
Profile E-Mail PM Web Find Quote Report
Joereynolds89
Junior Member
**


Posts: 69
Joined: Jul 2006
RE: Run Windows Media Player from WLM
Im not a scripter but im trying to put something together, i have alittle of it, but missing the main part therefore ive created my own forum asking others for help :D
07-06-2006 12:19 AM
Profile E-Mail PM Find Quote Report
wlmcrap
Junior Member
**

Avatar
David

Posts: 71
Reputation: -6
30 / Male / –
Joined: Jul 2006
O.P. RE: Run Windows Media Player from WLM
What's the name of your forum and what site is it on?
07-06-2006 12:22 AM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Run Windows Media Player from WLM
Find the path to your WMP, then make a quicktext.

The shortcut: "/wmp"
The text to replace: "/run <path>"
07-06-2006 12:23 AM
Profile PM Find Quote Report
Joereynolds89
Junior Member
**


Posts: 69
Joined: Jul 2006
RE: Run Windows Media Player from WLM
http://shoutbox.menthix.net/showthread.php?tid=62637
07-06-2006 12:25 AM
Profile E-Mail PM Find Quote Report
wlmcrap
Junior Member
**

Avatar
David

Posts: 71
Reputation: -6
30 / Male / –
Joined: Jul 2006
O.P. RE: Run Windows Media Player from WLM
Can someone please tell me how to fix my script so that it doesn't send the message to the contact, if you get what i mean.

Heres the Script:


function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
        if(Message == "!wmp")
        {
                ChatWnd.SendMessage("/run C:\\Program Files\\Windows Media Player\\wmplayer.exe");
        }
}

function OnEvent_Uninitialize(MessengerExit)
{
}
07-06-2006 03:40 AM
Profile E-Mail PM Web Find Quote Report
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
34 / Male / Flag
Joined: Oct 2004
RE: Run Windows Media Player from WLM
quote:
Originally posted by wlmcrap
Can someone please tell me how to fix my script so that it doesn't send the message to the contact, if you get what i mean.

Heres the Script:


function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
        if(Message == "!wmp")
        {
                ChatWnd.SendMessage("/run C:\\Program Files\\Windows Media Player\\wmplayer.exe");
        }
}

function OnEvent_Uninitialize(MessengerExit)
{
}

Please stop posting the same problem in multiple threads; look at the other thread, it has already been answered.

This post was edited on 07-06-2006 at 06:12 AM by Volv.
07-06-2006 06:11 AM
Profile PM Find Quote Report
wlmcrap
Junior Member
**

Avatar
David

Posts: 71
Reputation: -6
30 / Male / –
Joined: Jul 2006
O.P. RE: Run Windows Media Player from WLM
Sorry to be a pest but does anyone know how to make it not send the message to the contact ?
07-06-2006 08:02 AM
Profile E-Mail PM Web Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Run Windows Media Player from WLM
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
        if(Message == "!wmp")
        {
                ChatWnd.SendMessage("/run C:\\Program Files\\Windows Media Player\\wmplayer.exe");
                return "";
        }
}

The previous sentence is false. The following sentence is true.
07-06-2006 08:16 AM
Profile PM Find Quote Report
wlmcrap
Junior Member
**

Avatar
David

Posts: 71
Reputation: -6
30 / Male / –
Joined: Jul 2006
O.P. RE: Run Windows Media Player from WLM
Thanks heaps segosa. That works fine.
07-06-2006 08:19 AM
Profile E-Mail PM Web 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