User manual
Automation Protocol Easytext Commands
Miranda Technologies Ltd Page 219
Box (Z3) or Update Text Field (Z0) with ET_RENDER set. Imagestore
Intuition does not use this bitwise flag so calls to Z0 will render immediately.
If the ET_APPEND bit is set, then the text is appended to the current text.
This allows arbitrarily long text data to be defined over several command
packets. Typically, the first packet should have flags = 0 (do not append, do
not render), remaining packets should have ET_APPEND flag set, and the
final packet should have ET_APPEND + ET_RENDER to display the
completed text string.
Change Box Size and Position Z1
This command alters the position and dimensions of a text or image box.
CMD Param_1 Param_2 Param_3 Param_
4
Param_
5
Param_
6
Z1 %01x
Layer No
%02x
Box No.
%03x
X Pos.
%03x
Y Pos.
%03x
Width
%03x
Height
Example:
void ChangeDims(int Layer, int BoxNo, int X,
int Y, int Width, int Height)
{
remote_send("Z1%01x%02x%03x%03x%03x%03x",Layer,
BoxNo, X, Y, Width, Height);
}
The X and Y position indicate the top left position of the text box. All values
are in pixels. This command can be used to alter the position of an image
box.
This command will not update the text box on screen - the settings take effect
when the ‘Render Box’ command is issued.
Render Box Z3
This command will update the specified text or image box on screen using all
previous settings.
CMD Param_1 Param_2
Z3 %01x Layer No. %02x Text Box No.