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

ChatWndEditKeyDown... HELP...
Author: Message:
uggi
New Member
*


Posts: 11
37 / Male / –
Joined: Jul 2006
O.P. ChatWndEditKeyDown... HELP...
I'm new to MSN !Plus !Live scripting and i want to make my own plug-in, i have read det "fine/fucking" manual and i have made some functions now, but not all of dem are working...

I also have some other functions like the "Personal Message Chat" plug-in, but when people writes "!popup <and a message>" it just shows it in a popup...

BUT now i want's to make some short cuts with the ChatWndEditKeyDown Event...

If i read in the "manual":

quote:
The OnEvent_ChatWndEditKeyDown event is fired every time a key is pressed in the typing area of a chat window. It can be used to filter out some keys and use them as shortcuts for a feature of the script.


I get that... and i know that you need to have a [object] ChatWnd and a [number] KeyCode... i also know that the KeyCode for ABC is.. (41, 42  and 43) but i cant get the scripts working...

quote:
//
//    This code run then you type something in the typing area..
//
function OnEvent_ChatWndEditKeyDown(ChatWnd,KeyCode)
{
    var Key = KeyCode;
        //
        //     If you press 0 in the typing area...
        //
    if(Key == 30) {
        ChatWnd.SendMessage("/ctcinfo");
    }
}


this script open the profile for a contact if you press the key "0"... hmm not...

I know that this code DON`T WORK... but i donīt know why...

So, can anyone please help me to understand the function... ( i'm sorry for the bad english.. )
07-31-2006 03:15 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
ChatWndEditKeyDown... HELP... - by uggi on 07-31-2006 at 03:15 PM
RE: ChatWndEditKeyDown... HELP... - by RaceProUK on 07-31-2006 at 04:01 PM
RE: ChatWndEditKeyDown... HELP... - by uggi on 07-31-2006 at 04:06 PM
RE: ChatWndEditKeyDown... HELP... - by deAd on 07-31-2006 at 04:21 PM
RE: ChatWndEditKeyDown... HELP... - by matty on 07-31-2006 at 04:25 PM
RE: ChatWndEditKeyDown... HELP... - by uggi on 07-31-2006 at 04:35 PM
RE: ChatWndEditKeyDown... HELP... - by uggi on 07-31-2006 at 05:12 PM
RE: ChatWndEditKeyDown... HELP... - by matty on 07-31-2006 at 06:07 PM
RE: ChatWndEditKeyDown... HELP... - by uggi on 07-31-2006 at 06:31 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