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

Emoticons disappear!
Author: Message:
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Emoticons disappear!
Plus! sends messages by adding text to the conversation window's textbox and simulating the enter key's press. This is how it sends custom emoticons.

If there is text in the box when it sends it, it copies it and pastes it back in after it's sent.

Because the auto-replaced emoticons are images, they come out as a space. This is normal.

However, when the user presses "send", messenger sends it all as text, and sends the images separately in what the protocol calls a "MSN Object".

This way, Plus! can see what the emoticon shortcuts are.

Answer to your question: It can't restore them because it just copy/pastes the text. Try this manually, the emoticons will be replaced with spaces. It can't get the shortcut text because the box contains images, and since it's not being sent, you can't do that.

An alternative to your problem, though not a very good one, is to log what the user types into a variable using the edit key pressed event. Then, use SendMessage, and after that's sent, set the edit text to the variable. This will set it to what plus sets it to, but since it checks it key-by-key (instead of copying it all at one time), the emoticon shortcuts will be preserved.
07-01-2006 07:24 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Emoticons disappear! - by noroom on 07-01-2006 at 12:30 PM
RE: Emoticons disappear! - by RaceProUK on 07-01-2006 at 01:58 PM
RE: Emoticons disappear! - by noroom on 07-01-2006 at 06:01 PM
RE: Emoticons disappear! - by deAd on 07-01-2006 at 07:24 PM
RE: Emoticons disappear! - by noroom on 07-01-2006 at 07:34 PM
RE: Emoticons disappear! - by RaceProUK on 07-01-2006 at 11:43 PM
RE: Emoticons disappear! - by noroom on 07-02-2006 at 08:50 AM
RE: Emoticons disappear! - by mathieumg on 07-02-2006 at 12:08 PM
RE: Emoticons disappear! - by noroom on 07-02-2006 at 04:55 PM
RE: Emoticons disappear! - by Patchou on 07-02-2006 at 05:57 PM
RE: RE: Emoticons disappear! - by noroom on 07-03-2006 at 11:01 AM
RE: Emoticons disappear! - by luisillo on 07-02-2006 at 07:01 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