Shoutbox

[User] is writing a message... - 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: [User] is writing a message... (/showthread.php?tid=88901)

[User] is writing a message... by paulspiteri on 02-02-2009 at 11:50 AM

Hi
I know we can send messages through the scripting api, but how do we make it say the user is typing a message, before sending the message?
I tried putting some text in the chat window's EditText field and it did replace the text in that typing textbox, but the recipient did not receive "typing" notification.

Is it possible through the msgplus api?
thanks


RE: [User] is writing a message... by Spunky on 02-02-2009 at 12:17 PM

quote:
Originally posted by paulspiteri
Hi
I know we can send messages through the scripting api, but how do we make it say the user is typing a message, before sending the message?
I tried putting some text in the chat window's EditText field and it did replace the text in that typing textbox, but the recipient did not receive "typing" notification.

Is it possible through the msgplus api?
thanks

If there is text in the field, a TypingNotification protocol message is sent (every 5 seconds I think). If they don't receive notifications you probably aren't waiting long enough
RE: [User] is writing a message... by paulspiteri on 02-02-2009 at 11:42 PM

well, i did some specific tests and the recipient said it didn't work. maybe it only gets enabled if a keydown event has been received? I guess I could do some automation (use the SendMessage API or something) if that was the case.

Anyone else got an proof either way? :)


RE: [User] is writing a message... by Spunky on 02-03-2009 at 02:15 AM

quote:
Originally posted by paulspiteri
maybe it only gets enabled if a keydown event has been received?

No.

I suggest using a packet sniffer such as Ethereal (Wireshark) and take a look at destination port 1863.

You will see the TypingNotification messages being sent.
RE: [User] is writing a message... by Mnjul on 02-03-2009 at 10:44 AM

quote:
Originally posted by paulspiteri
well, i did some specific tests and the recipient said it didn't work. maybe it only gets enabled if a keydown event has been received? I guess I could do some automation (use the SendMessage API or something) if that was the case.

Anyone else got an proof either way? :)
I suggest you try SendMessage with key down messages, maybe they'll work..