Messenger Plus! Live - Scripting Documentation
The ChatWnd::HistoryText_GetTextRange function returns the desired
portion of text from the message history area (where received messages are
displayed), with or without emoticon codes.
溴>
Messenger Plus! Live -脚本文件
物体的参考-c hatwnd
chatwnd : : historytext_gettextrange
该chatwnd : : historytext_gettextrange函数返回所期望的
部分文本,从历史方面的讯息(如收到的邮件是
显示) ,有或没有表情的代码。
该chatwnd : : historytext_gettextrange函数返回所期望的
部分文本,从历史方面的讯息(如收到的邮件是
显示) ,有或没有表情的代码。
Syntax
[string] HistoryText_GetTextRange(
[number] StartIdx,
[number] EndIdx,
[boolean,optional] AddObjectCodes,
);
Parameters
- StartIdx
- [number] Index of the first character included in the text
range.
- EndIdx
- [number] Index following the last character included in the text
range.
- AddObjectCodes
- [boolean,optional] Specifies if objects such as emoticons are to
be replaced by their text representation. The default for this
parameter is true. If this parameter is
true, the length of the text returned
may be different than the specified text range as objects normally
count for 1 blank character.
Return Value
The portion of text corresponding to the range specified in the
parameters.
部分文本相应的范围内,在指定的
参数。
部分文本相应的范围内,在指定的
参数。
This function typically fails for the following reason:
这项功能通常失败,原因如下:
这项功能通常失败,原因如下:
- The StartIdx or
EndIdx parameter is inferior to 0.
- The range specified is inferior to 0.
- The ChatWnd object refers to a window that has been destroyed.
Remarks
An "object" is anything that is not text. For example, file transfers
and separator lines are represented with objects in the message history.
Such objects may have no text representation at all of internal
character codes such as "*".
一“对象”是什么,这不是文字。例如,文件传输
和分离线的代表,与物体在邮件中的历史。
这类物体可能没有代表性的案文在所有内部
字符码,如“ * ” 。
一“对象”是什么,这不是文字。例如,文件传输
和分离线的代表,与物体在邮件中的历史。
这类物体可能没有代表性的案文在所有内部
字符码,如“ * ” 。
Function Information
| Object |
ChatWnd |
| Availability |
Messenger Plus! Live 4.20 |
See Also
ChatWnd Object,
HistoryText_GetCurSelStart,
HistoryText_GetCurSelEnd.
chatwnd对象,
historytext_getcurselstart ,
historytext_getcurselend 。
chatwnd对象,
historytext_getcurselstart ,
historytext_getcurselend 。
Sponsor
Links
Scripts文档目录
脚本库
FAQ