Skip to content

setWindowContents

MicroBlaster edited this page Nov 11, 2019 · 2 revisions

Purpose: Sets the display content of a script window.

Syntax: setWindowContents {windowName} {value}

{windowName}: The name of the script window to have its contents set.

{value}: The text content to place inside the script window.

Notes: Sets the text content of a script window. The window must have been created using the 'window' command. To allow for multiple lines to be shown in the window, use the "*" value as used for the send/echo commands.

Example:

# Create ZTM progress window - as managed in 1_ZTM.ts
window ztm 170 94 "ZTM" ONTOP
setWindowContents ztm "Perc Done:*Est Time:*Speed:*Up to:"

Clone this wiki locally