What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help] Insert last message to textarea

[help] Insert last message to textarea
Author: Message:
chu4
New Member
*

Avatar
chu4____x | Kabooom!

Posts: 8
31 / Male / Flag
Joined: Jun 2009
O.P. [help] Insert last message to textarea
How i can insert last reserved message, to textarea?
Not sendMessage!

This post was edited on 07-02-2009 at 01:47 PM by chu4.
=)
07-02-2009 01:47 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [help] Insert last message to textarea
http://mpscripts.net/docs/ref-chatwnd-edittext.php
http://mpscripts.net/docs/ref-chatwnd-editchangeallowed.php

Javascript code:
if ( pChatWnd.EditChangeAllowed === true ) {
    pChatWnd.EditText = 'this is some text';
}


pChatWnd is inherited 4 ways and cannot directly be called as such.

Javascript code:
function OnEvent_ChatWndSendMessage ( pChatWnd, sMessage ) {}
 
function OnEvent_ChatWndReceiveMessage ( pChatWnd, sOrigin, sMessage, nMessageType ) {}
 
pChatWnd = MsgPlus.OpenChat ( 'johndoe@hotmail.com' );
 
for ( var pChatWnd = new Enumerator ( Messenger.CurrentChats ); !pChatWnd.atEnd(); pChatWnd.moveNext() ) {
    Debut.Trace ( pChatWnd.item().Handle );
}

07-02-2009 01:58 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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