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

Silent Messages
Author: Message:
bigbob85
Full Member
***

Avatar
Is Good, Is Bob...

Posts: 128
Reputation: 4
36 / Male / Flag
Joined: Jul 2003
O.P. RE: Silent Messages
All this talk about ChatWnd is making my head spin, but I think I got a good idea.

I dont think its SendMessage that draws the windows focus, its the OpenChat. So if I dont do that, and just use the ChatWnd Iterator and then see if the contact I want to send it to is in the chat (and there is only 1 person in the chat) to then send the message. Thus, avoiding the OpenChat.

I'll try it and see if it works.

EDIT:
code:
Debug.Trace("Currently opened chat windows:");
var Windows = Messenger.CurrentChats;
var e = new Enumerator(Windows);
for(; !e.atEnd(); e.moveNext()){
    var ChatWindow = e.item();
    if (ChatWindow.Contacts.Count == 1){
        var f = new Enumerator(ChatWindow.Contacts);
        for(; !f.atEnd(); f.moveNext()){
            var Contact = f.item();
            Debug.Trace(" " + Contact.Email);
        }
    }
}

That what I made, it works to :D. Might also be able to be used in my IRC Style Chats script aswell.

Thanks for your help everyone.

EDIT 2 :

Heres a BETA version of the script. Its getting there :D.
This version is mostly operational, it just dosn't have advanced settings (Like, dont send to this contact when they are busy).

Also checks if Music Now Playing is installed.

http://bigbob85.insaneparadox.com/msgplus/script.php?scr=NP%20Updater

This post was edited on 01-19-2007 at 04:38 AM by bigbob85.
01-19-2007 12:31 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Silent Messages - by bigbob85 on 01-15-2007 at 10:06 AM
RE: Silent Messages - by Felu on 01-15-2007 at 10:48 AM
RE: Silent Messages - by bigbob85 on 01-15-2007 at 11:11 AM
RE: Silent Messages - by Plik on 01-15-2007 at 11:19 AM
RE: Silent Messages - by bigbob85 on 01-16-2007 at 10:01 AM
RE: Silent Messages - by Felu on 01-16-2007 at 02:09 PM
RE: Silent Messages - by MrT on 01-17-2007 at 04:26 PM
RE: Silent Messages - by Eljay on 01-17-2007 at 04:29 PM
RE: RE: Silent Messages - by markee on 01-18-2007 at 12:26 AM
RE: RE: RE: Silent Messages - by CookieRevised on 01-18-2007 at 03:53 AM
RE: Silent Messages - by bigbob85 on 01-19-2007 at 12:31 AM
RE: RE: Silent Messages - by CookieRevised on 01-19-2007 at 02:07 PM
RE: Silent Messages - by bigbob85 on 01-19-2007 at 11:12 PM
RE: Silent Messages - by CookieRevised on 01-20-2007 at 03:20 AM
RE: Silent Messages - by bigbob85 on 01-20-2007 at 08:44 AM


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