Shoutbox

is this possible - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: is this possible (/showthread.php?tid=62713)

is this possible by teddytim on 07-07-2006 at 02:22 AM

i just wanted to ask if this was possible with the new scripting system before i attempted to write this.

- i want to specify a list of email addresses from my contact list.
- any messages i receive from any of the listed email addresses will get logged to a file instead of being displayed on screen (no conversation window will popup, or it can close automatically after a set amount of time).

i know the answer phone script does something like this, but i want it to only affect people i specify and have everything saved into 1 file for viewing later.

also, i know i can always block the user if i dont want to see their message, but i  still want the user to see me as online and i want to read what they write, i just dont want to read all their messages while im busy, chat popups will also distract me from my work.

is this possible?


RE: is this possible by rob_botch on 07-07-2006 at 09:27 AM

That is possible, yes, as far as I know. In fact, it is second on my list of features to add to the anwerphone. I'll try and put it in soon!

The only problem is closing the chat window. The only method possible (to my knowledge) is by sending the message "/close", which is a fairly crude way of doing it.


Hope this helps,


RE: is this possible by Plik on 07-07-2006 at 09:53 AM

You could use:

code:
Interop.Call('User32', 'PostMessageW', ChatWnd.handle, 16, 0, 0);

To close the window. All it does is posts WM_CLOSE to the chat window.
Closing group chats takes some extra work, but you can cheat and post an enter keystroke like so:
code:
Interop.Call('User32', 'PostMessageW', ChatWnd.handle, 16, 0, 0);
Interop.Call('User32', 'PostMessageW', ChatWnd.handle, 256, 0, 1835009);

Hope this helps