What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [split] Script to use Alt+S to send a message and Enter to get newline

[split] Script to use Alt+S to send a message and Enter to get newline
Author: Message:
biestieboy
New Member
*


Posts: 1
Joined: Apr 2009
RE: RE: Enter Vs Ctrl-Enter etc to send a message
quote:
Originally posted by matty
js code:
function OnEvent_ChatWndEditKeyDown( pChatWnd, vkKey, bCtrl, bShift ) {
    if ( vkKey === 0xD /* VK_RETURN */ ) {
        if ( bCtrl === true ) {
            pChatWnd.SendMessage( pChatWnd.EditText ); // I don't think this property perserves emoticons
            return true;
        } else {
            /*
                too lazy to write code to insert a new line at the current character
                position and overwrite any highlighted text... DIY
            */
            return true;
        }
    }
    return false;
}


I search for the Key "TAB" & ENTER oder Space
04-20-2009 11:05 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
RE: Enter Vs Ctrl-Enter etc to send a message - by Joerg on 02-20-2009 at 11:31 AM
RE: [split] Script to use Alt+S to send a message and Enter to get newline - by Applepig on 02-23-2009 at 09:57 PM
RE: [split] Script to use Alt+S to send a message and Enter to get newline - by Novox on 02-24-2009 at 08:10 AM
RE: [split] Script to use Alt+S to send a message and Enter to get newline - by matty on 04-20-2009 at 11:36 PM
RE: Enter Vs Ctrl-Enter etc to send a message - by Spunky on 02-20-2009 at 02:06 PM
RE: Enter Vs Ctrl-Enter etc to send a message - by matty on 02-20-2009 at 02:17 PM
RE: RE: Enter Vs Ctrl-Enter etc to send a message - by biestieboy on 04-20-2009 at 11:05 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