DevMSN+

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

Messenger Plus! Live - Scripting Documentation

Objects Reference - ChatWnd

ChatWnd::DisplayInfoMessage

The ChatWnd::DisplayInfoMessage function displays a message in the "information area" of the chat window. This is the area where the "user is typing" message is displayed. If a message from Messenger Plus! (including any script) is already displayed, the message is placed in queue.

溴>


Messenger Plus! Live -脚本文件



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


该chatwnd : : displayinfomessage功能显示一条消息,在
“信息区”的聊天窗口。这是地方“用户是
键入“信息显示。如果邮件从Messenger Plus! (包括
任何脚本)已经显示,该邮件是放置在队列中。

该chatwnd : : displayinfomessage功能显示一条消息,在
“信息区”的聊天窗口。这是地方“用户是
键入“信息显示。如果邮件从Messenger Plus! (包括
任何脚本)已经显示,该邮件是放置在队列中。

Syntax

DisplayInfoMessage(
    [string] Message,
    [int,optional] Duration,
    [boolean,optional] ForceNow
);

Parameters

Message
[string] Message to display. Emoticons will not be rendered, however, formatting codes (like [b][/b] for bold) can be used.
Duration
[int,optional] Duration of the message on screen, in milliseconds. If 0 or not specified, the default duration of Messenger Plus! is used (8 seconds, can be customized by the user).
ForceNow
[boolean,optional] Specifies if the message should be forced to be displayed right away (false by default). If true and a message is currently being displayed by Messenger Plus!, it is discarded and replaced by the new message. If more messages were already in queue, they are also discarded.

Return Value

No value is returned by this function.

没有任何价值,是经由这个功能。

没有任何价值,是经由这个功能。

This function typically fails for the following reason:

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

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

  • The ChatWnd object refers to a window that has been destroyed.

Remarks

This function can be used to easily notify the user of an event related to the current chat window. It is particularly effective in Windows Live Messenger 8.5 and above as the "information area" in these versions of Messenger is more visible to the user.

这个功能可以用来轻松地通知用户事件
有关目前的聊天窗口。特别是在有效
Windows Live Messenger的8.5及以上为“信息区” ,在这些
版本的Messenger是更明显的给用户。

It is recommended to leave the duration to its default. Also, the ForceNow parameter should be used in very specific situations only. Because it will clear the current queue of messages waiting to be displayed, this will possibly cause annoyances to the user as some messages may be missed.

这是推荐的离开时间,以它的默认。此外,
forcenow参数应该用非常具体的
情况只。因为这将明确当前队列中的邮件等待
显示,这将可能导致annoyances向用户作为一些讯息
可能会错过。

Note: Messenger Plus! may restrict the maximum number of messages waiting in the queue. There is one queue per chat window, shared by Messenger Plus! and all the scripts. If the maximum number of messages is reached, new messages will be discarded automatically until the current message times-out to make room for new additions (notification messages are supposed to have a meaning in the near present only).

注:Messenger Plus!可能会限制人数最多的邮件在等待
队列中。有一个排队,每聊天窗口,共享Messenger Plus!和所有
脚本。如果最大的邮件数量是达成共识,新邮件将
自动丢弃,直到目前的信息时代淘汰,以腾出空间给新
增补(通知讯息是假定有一个含义,在不久的
目前只有) 。

Function Information

Object ChatWnd
Availability Messenger Plus! Live 4.50

See Also

ChatWnd Object, ResetInfoMessage.

chatwnd对象,
resetinfomessage 。

  Sponsor

  Links

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