What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Script that opens/closes/signs in/signs out Skype when I do the same in WLM

Script that opens/closes/signs in/signs out Skype when I do the same in WLM
Author: Message:
andrey
elite shoutboxer
****

Avatar

Posts: 795
Reputation: 48
– / Male / Flag
Joined: Aug 2004
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM
Shutting down Skype when closing WLM should be pretty easy to do as Skype itself provides a /shutdown command-line parameter. So all you'd need is:
JScript code:
function OnEvent_Uninitialize(MessengerExit)
{
    if (MessengerExit) {
        var w = new ActiveXObject("WScript.Shell");
        w.run("skype.exe /shutdown");
    }
}

to close Skype whenever WLM is closed.

(haven't tested this though, due to lack of Skype)

So you should be able to start/stop Skype, not sure if it's possible to sign in/out of Skype like that as well.

This post was edited on 03-25-2010 at 12:25 AM by andrey.
[Image: w2kzw8qp-sq2_dz_b_xmas.png]
03-25-2010 12:23 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by riahc4 on 03-24-2010 at 01:45 AM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by Voldemort on 03-24-2010 at 02:39 AM
RE: RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by CookieRevised on 03-24-2010 at 12:35 PM
RE: RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by riahc4 on 03-24-2010 at 10:48 PM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by Chris4 on 03-24-2010 at 02:53 AM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by Chrissy on 03-24-2010 at 11:05 PM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by riahc4 on 03-24-2010 at 11:29 PM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by Chrissy on 03-24-2010 at 11:55 PM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by andrey on 03-25-2010 at 12:23 AM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by CookieRevised on 03-25-2010 at 07:13 AM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by Veggie on 03-25-2010 at 11:16 AM
RE: Script that opens/closes/signs in/signs out Skype when I do the same in WLM - by Felu on 03-25-2010 at 02:24 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