DevMSN+

酷酷的MSN插件,随心所欲MSN

Messenger Plus! Live - Scripting Documentation

Objects Reference - ChatWnd

ChatWnd::SendMessage

The ChatWnd::SendMessage function sends a message to the contacts currently present in the chat window.

溴>


Messenger Plus! Live -脚本文件



物体的参考-c hatwnd
chatwnd : : sendmessage


该chatwnd : : sendmessage函数传送讯息至接触
目前在聊天窗口中。

该chatwnd : : sendmessage函数传送讯息至接触
目前在聊天窗口中。

Syntax

[boolean] SendMessage(
    [string] Message
);

Parameters

Message
[string] Text message to be sent. The message is parsed for commands and tags like any other message sent by the user.

Return Value

If the message is sent successfully, the return value is true, else, the return value is false.

如果邮件是发送成功,返回值是
诚然,否则,返回值是
虚假的。

如果邮件是发送成功,返回值是
诚然,否则,返回值是
虚假的。

This function typically fails for the following reason:

这项功能通常失败,原因如下:

这项功能通常失败,原因如下:

  • The ChatWnd object refers to a window that has been destroyed.
  • The property is being set while the edit control is disabled. See EditChangeAllowed.

Remarks

If the text being set is longer than the maximum allowed (typically 1100 characters), it is truncated. If the typing area already contains text when this function is called, it is saved before the message is sent and automatically restored after that. The EditChangeAllowed property should be checked before this function is called.

如果文本正在建立长于所允许的最高值(通常是
1100个字符) ,这是截断。如果打字面积已包含
案文时,这个功能是所谓的,这是前储存的信息是
发送和自动恢复之后。该editchangeallowed
财产,应检查之前,这个功能是所谓的。

如果文本正在建立长于所允许的最高值(通常是
1100个字符) ,这是截断。如果打字面积已包含
案文时,这个功能是所谓的,这是前储存的信息是
发送和自动恢复之后。该editchangeallowed
财产,应检查之前,这个功能是所谓的。

Function Information

Object ChatWnd
Availability Messenger Plus! Live 4.00

See Also

ChatWnd Object, EditChangeAllowed, EditText.

chatwnd对象,
editchangeallowed ,
edittext 。

chatwnd对象,
editchangeallowed ,
edittext 。

  Sponsor

  Links

Scripts文档目录 脚本库 FAQ
copyright devmsn.com