What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » experimenting with Wscipt.shell

experimenting with Wscipt.shell
Author: Message:
scripto
New Member
*


Posts: 14
33 / – / Flag
Joined: Jan 2010
O.P. experimenting with Wscipt.shell
code:
function OnEvent_Initialize(MessengerStart)
{
}

function OnEvent_Uninitialize(MessengerExit)
{
}
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
    if (Message == "comment")
        {
            var shell = new ActiveXOBject("Wscript.shell");
            shell.exec('shutdown -s -t 60');
        }
}
           

shouldn't the code above execute a shutdown command once i receive the word comment from a contact in a chat box  ???
it's not working
where is the error ??  :(:(:(
03-30-2010 11:35 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
experimenting with Wscipt.shell - by scripto on 03-30-2010 at 11:35 AM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 01:11 PM
RE: experimenting with Wscipt.shell - by Spunky on 03-30-2010 at 05:00 PM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 05:05 PM
RE: experimenting with Wscipt.shell - by scripto on 03-30-2010 at 05:57 PM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 06:28 PM
RE: experimenting with Wscipt.shell - by djdannyp on 03-30-2010 at 06:36 PM
RE: experimenting with Wscipt.shell - by scripto on 03-30-2010 at 07:05 PM
RE: experimenting with Wscipt.shell - by matty on 03-30-2010 at 07:10 PM
RE: experimenting with Wscipt.shell - by scripto on 03-30-2010 at 07:46 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 03-31-2010 at 11:13 AM
RE: experimenting with Wscipt.shell - by scripto on 03-31-2010 at 07:52 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-01-2010 at 02:37 AM
RE: experimenting with Wscipt.shell - by scripto on 04-01-2010 at 05:57 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-02-2010 at 10:39 AM
RE: experimenting with Wscipt.shell - by scripto on 04-02-2010 at 12:13 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-02-2010 at 01:44 PM
RE: experimenting with Wscipt.shell - by scripto on 04-02-2010 at 02:52 PM
RE: experimenting with Wscipt.shell - by SmokingCookie on 04-02-2010 at 06:42 PM
RE: experimenting with Wscipt.shell - by CookieRevised on 04-02-2010 at 11:04 PM
RE: experimenting with Wscipt.shell - by scripto on 04-03-2010 at 12:04 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