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.
[string] HistoryText_GetTextRange( [number] StartIdx, [number] EndIdx, [boolean,optional] AddObjectCodes, );
The portion of text corresponding to the range specified in the parameters.
This function typically fails for the following reason:
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 "*".
Object | ChatWnd |
---|---|
Availability | Messenger Plus! Live 4.20 |
ChatWnd Object, HistoryText_GetCurSelStart, HistoryText_GetCurSelEnd.