DevMSN+

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

Messenger Plus! Live - Scripting Documentation

Objects Reference - ChatWnds

ChatWnds' Iterator

The ChatWnds object can be iterated through the Enumerator object of JScript.

溴>


Messenger Plus! Live -脚本文件



物体的参考-c hatwnds
chatwnds '迭代


该chatwnds对象可以通过迭代

Enumerator对象的JScript 。

该chatwnds对象可以通过迭代

Enumerator对象的JScript 。

Return Value

A ChatWnd object.

1 chatwnd对象。

1 chatwnd对象。

Remarks

Each ChatWnds object keeps track of its own iterator. This means that even if two objects refer to the same collection of chat windows, they'll contain two different iterators. This is why ChatWnds objects must first be assigned to variables before being used in an Enumerator.

每个chatwnds对象持续追踪其自身的迭代。这个
也就是说,即使两个对象是指同时收集聊天
在Windows ,他们就会
包含两种不同的迭代器。这就是为什么chatwnds对象,必须先
分配给变量,然后将被用来在一枚举。

每个chatwnds对象持续追踪其自身的迭代。这个
也就是说,即使两个对象是指同时收集聊天
在Windows ,他们就会
包含两种不同的迭代器。这就是为什么chatwnds对象,必须先
分配给变量,然后将被用来在一枚举。

Example

The current user must be signed for this code to succeed.

当前用户必须签署此代码的图谋得逞。

当前用户必须签署此代码的图谋得逞。

Debug.Trace("Currently opened chat windows:");
var Windows = Messenger.CurrentChats;
var e = new Enumerator(Windows);
for(; !e.atEnd(); e.moveNext())
{
	var ChatWindow = e.item();
	Debug.Trace(" Handle: " + ChatWindow.Handle);
}

Function Information

ObjectChatWnds
AvailabilityMessenger Plus! Live 4.00

See Also

ChatWnds Object, ChatWnd Object, JScript's Enumerator Object.

chatwnds对象,
chatwnd对象,

JScript中的Enumerator对象。

chatwnds对象,
chatwnd对象,

JScript中的Enumerator对象。

  Sponsor

  Links

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