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

Help on Closing the ChatWindow
Author: Message:
garukun
New Member
*


Posts: 2
Joined: Aug 2006
O.P. Help on Closing the ChatWindow
I'm not so familiar with JScripting or ActiveXObjects, but I think I should be able to do this.

Basically, I want to have a script that auto sends a message to a contact and without me noticing that the chat was being sent.

One way i thought of was to opne chat window, send the message, and then close it. I don't seem to be able to do the last thing as there is no such command in the documentation.

A lil help on this? Thanks very much!
08-14-2006 07:25 AM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Help on Closing the ChatWindow
It's very easy to do so. Just add this code after the ChatWindow.SendMessage() call which you used to send the text:
code:
ChatWindow.SendMessage("/close");
This will send the Plus! command /close, which closes the window. No need for Plus! Live script functions, and it's far more easy! :D
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
08-14-2006 07:49 AM
Profile E-Mail PM Web Find Quote Report
garukun
New Member
*


Posts: 2
Joined: Aug 2006
O.P. RE: Help on Closing the ChatWindow
oh, haha, I can't be more stupid than that~
Thanks thanks!
08-14-2006 07:54 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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