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.
[boolean] OnEvent_ChatWndEditKeyDown( [object] ChatWnd, [number] KeyCode, [boolean] CtrlKeyDown, [boolean] ShiftKeyDown );
A boolean value specifying if the key should be ignored. If the function returns true, the key is not processed by Messenger and not inserted in the typing area. If the function returns false, Messenger Plus! and Messenger continue their own processing of the message.
Because this event is fired for every single key pressed by the user, your event handler must return as fast as possible and not slow down the user.
Event Source | Windows Live Messenger |
---|---|
Availability | Messenger Plus! Live 4.00 |