What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » beginner scripter

beginner scripter
Author: Message:
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: beginner scripter
You have to define the ChatWnd Object before you can send messages to it.
Luckily this object can be provided by the Messenger.OpenChat() function.

javascript code:
function OnEvent_Initialize(MessengerStart)
{
ChatWnd = Messenger.OpenChat('kassaidani@hotmail.com');
ChatWnd.SendMessage("message");
}
function OnEvent_Uninitialize(MessengerExit)
{
}
it's untested, but it should work.
04-26-2009 04:04 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
beginner scripter - by danlett on 04-26-2009 at 03:41 PM
RE: beginner scripter - by Jesus on 04-26-2009 at 04:04 PM
RE: beginner scripter - by danlett on 04-26-2009 at 05:51 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