User manual

screen (Such as those created by "Print" "Line"
and "Oval" statements). If a number is
specified, then the nth last element will be
removed. For example, "ClearLast 2" will
remove the second to last drawn element from
the screen.
"SetFlash <hex>"
Sets the rate of flashing that should occur for
drawing calls. Example: "SetFlash 0x100".
"SetFlash 0" disables flashing.
"SetCursorCallback <callback>"
Sets the current cursor position to the x and y
position of the button specified by <callback>.
If the <callback> is not found on the current
panel, the location of the cursor will remain
unchanged.
"SetCursorDial <callback>"
Sets the current cursor position to the x and y
position of the dial specified by <callback>. If
the <callback> is not found on the current
panel, the location of the cursor will remain
unchanged.
"WaitCallbackVisible <time> <callback>"
Pauses execution of the script until <time>
expires, or until the button specified by
<callback> is found on the current panel. If the
timer expires, then the function returns false.
Pauses execution of the script until <time>
expires, or until the dial specified by <callback>
is found on the current panel. If the timer
expires, then the function returns false.
"WaitDialVisible <time> <callback>"
Sets the type of text boxing that should apply
to print statements. Valid values are 0, 1, 2
and 3. 0 = no text boxing, 1 = text is boxed by
lines, 2 = black text is drawn with a colored
box, 3 = colored text is drawn with a black box.
This function affects all print functions.
"SetTextBoxed <integer>"
"MoveCursor <float (x)> <float (y)>"
Moves the cursor from its current position by x
and y amount. The range of the coordinate
system is from -1.0 to 1.0. For example x = -
1.0 is the left of the screen, 0.0 is the center
and 1.0 is the right side of the screen. This
cursor location is used for all print and drawing
156