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