What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Script to run a command line whenever a contact becomes online

Script to run a command line whenever a contact becomes online
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Script to run a command line whenever a contact becomes online
Well, if you have any program which can send a message to your mobile, it's very easy to do that:
code:
function OnEvent_ContactSignin(Email) {
   if(Email == "mary@hotmail.com") {
      new ActiveXObject("WScript.Shell").Run('C:\sendsms.exe');
   }
}
or something likely... Note that if there are any spaces in your file path, you should place the path between quotes (e.g.: '"C:\Program Files\SendSMS\sendsms.exe"').

If you don't have a program which does that... well, I don't know. :P

EDIT: Damn, Volv beat me again. :( But he made an error: his code would execute for EVERY contact. :P

This post was edited on 06-12-2007 at 06:40 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
06-12-2007 06:40 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script to run a command line whenever a contact becomes online - by jabaltie on 06-12-2007 at 06:29 PM
RE: Script to run a command line whenever a contact becomes online - by Volv on 06-12-2007 at 06:37 PM
RE: Script to run a command line whenever a contact becomes online - by Matti on 06-12-2007 at 06:40 PM
RE: Script to run a command line whenever a contact becomes online - by Volv on 06-12-2007 at 06:42 PM
RE: Script to run a command line whenever a contact becomes online - by jabaltie on 06-12-2007 at 07:49 PM
RE: Script to run a command line whenever a contact becomes online - by L. Coyote on 06-12-2007 at 07:54 PM
RE: Script to run a command line whenever a contact becomes online - by Volv on 06-13-2007 at 04:36 AM
RE: Script to run a command line whenever a contact becomes online - by markee on 06-13-2007 at 04:50 AM
RE: Script to run a command line whenever a contact becomes online - by jabaltie on 06-13-2007 at 01:37 PM
RE: Script to run a command line whenever a contact becomes online - by jabaltie on 06-13-2007 at 01:44 PM
RE: Script to run a command line whenever a contact becomes online - by Volv on 06-13-2007 at 02:28 PM
RE: Script to run a command line whenever a contact becomes online - by jabaltie on 06-13-2007 at 02:57 PM
RE: Script to run a command line whenever a contact becomes online - by Volv on 06-13-2007 at 03:18 PM
RE: Script to run a command line whenever a contact becomes online - by Jesus on 06-13-2007 at 05:04 PM
RE: Script to run a command line whenever a contact becomes online - by Matti on 06-13-2007 at 07:25 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