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:
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
37 / Male / Flag
Joined: Mar 2006
RE: experimenting with Wscipt.shell
This is all the code you need:

Javascript code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
    if (Message == "comment")
        {
            var shell = new ActiveXObject('WScript.Shell').exec('C:\\Windows\\system32\\shutdown.exe -s -t 60');
        }
}


This post was edited on 03-30-2010 at 06:37 PM by djdannyp.
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5225 days, 8 hours, 56 minutes, 31 seconds ago
03-30-2010 06:36 PM
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