What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Emoticon auto-completion

Emoticon auto-completion
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Emoticon auto-completion
quote:
Originally posted by absorbation
Good idea, but it is very impractical.
It is very well possible.

Both in the form of a selected text as you type (autocomplete), as in the form of a panel comming up which narrows the images down (intellisense).

Although a panel popping up is almost useless*, since it will only show 1 emoticon anyways, since emoticons shortcuts can not be part of other emoticon shortcuts ( "myemo" and "myemo1" can't both exist since "myemo" will always be shown before you even can type "1" after it), although Messenger allows it that you have such shortcuts, they wont work.

*It would only be able to show a selection of emoticons by the very first character you type (eg: emoticon shortcuts beginning with "(" or beginning with ":", etc)

Normal textual autocomplete/type-ahead is very well possible though.

But here too, there can only be 1 autocompleted shortcut shown, obviously... (unless you also implement a shortcut key (typically it is a press on the TAB key) which cycles and shows the next matching shortcut)

Note, Messenger Plus! provides objects like:
    Messenger::CustomEmoticons
    ChatWnd::EditText
    ChatWnd::EditText_GetCurSelStart
    ChatWnd::EditText_GetCurSelEnd
    ChatWnd::EditText_ReplaceSel
    ChatWnd::EditText_SetCurSel
    OnEvent_ChatWndEditKeyDown

-----------

Though, I'd suspect that if you run such a script, the typing will be slowed down a lot since you constantly need to do a lot of stuff which each keypress (eg: getting all emoticons and their shortcuts each time, since they can change on the fly!), not to mention the constant showing and updating of the panel with each keypress...

Using a timeout and using a time delay will reduce the slowness a bit, but not entirly.

Also, it hugly depends on the amount of emoticons you have. But since you have so much emoticons you can't remember all the shortcuts, it would also mean this script will slow everything down _a lot_, making it as good as unuseable.

This post was edited on 01-14-2007 at 04:02 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-14-2007 03:12 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Emoticon auto-completion - by rock3r on 01-13-2007 at 04:43 PM
RE: Emoticon auto-completion - by absorbation on 01-13-2007 at 10:46 PM
RE: RE: Emoticon auto-completion - by CookieRevised on 01-14-2007 at 03:12 AM
RE: Emoticon auto-completion - by rock3r on 01-14-2007 at 12:22 AM
RE: Emoticon auto-completion - by rock3r on 01-14-2007 at 10:12 PM
RE: RE: Emoticon auto-completion - by rock3r on 01-15-2007 at 10:25 PM
RE: Emoticon auto-completion - by Nagamasa on 01-14-2007 at 11:44 PM
RE: Emoticon auto-completion - by rock3r on 01-15-2007 at 04:30 PM
RE: RE: Emoticon auto-completion - by CookieRevised on 01-27-2007 at 03:55 PM
RE: Emoticon auto-completion - by absorbation on 01-15-2007 at 05:17 PM
RE: Emoticon auto-completion - by rock3r on 01-28-2007 at 09:49 AM
RE: Emoticon auto-completion - by CookieRevised on 01-28-2007 at 05:32 PM
RE: Emoticon auto-completion - by rock3r on 01-28-2007 at 08:23 PM
RE: Emoticon auto-completion - by CookieRevised on 01-28-2007 at 09:07 PM
RE: Emoticon auto-completion - by rock3r on 01-28-2007 at 10:07 PM
RE: Emoticon auto-completion - by CookieRevised on 01-28-2007 at 10:23 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