Actions
Added in 2.7
$topicbox(window,[N])
Returns the text in the Topicbox of the specified window.
Parameters
Parameter | Description |
window | The window associated with the Topicbox to use. |
Properties
Property | Description |
.selstart | Returns the position of the first selected character. |
.selend | - Returns the position of the last selected character. |
.color | Gets the current Topicbox text color in $rgb format. |
.backcolor | Gets the current Topicbox background color in $rgb format. |
.rgbcolor | Gets the current Topicbox text color in rrr,ggg,bbb format. |
.rgbbackcolor | Gets the current Topicbox background color in rrr,ggg,bbb format. |
Example
; Print the content of the Topicbox. //echo -ag Text is $topicbox($active) selstart is $topicbox($active).selstart selend is $topicbox($active).selend
Updated by Per Amundsen over 1 year ago · 3 revisions