User manual

Automation Protocol Easytext Commands
Miranda Technologies Ltd Page 223
The signed value should be ‘ANDED’ with 0xFFFF to ensure it is only four
digits long.
Example:
void ChangeTextBgnd(int Layer, int BoxNo,
int Tracking)
{
remote_send ("%01x%02x%04x", layer, BoxNo,
Tracking & 0xffff);
}
Set Text Alignment ZE
The alignment of text within a box can be adjusted with this command
CMD Param_1 Param_2 Param_3 Param_4
ZE %01x
Layer No.
%02x
Text Box No.
%01x
Horiz. Align
%01x
Vert. Align
Horizontal Align : 0 = Align Left, 1 = Align Centre, 2 = Align Right.
Vertical Align : 0 = Align Top, 1 = Align Centre, 2 = Align Bottom.
Set Text Wrapping ZF
The alignment of text within a box can be adjusted with this command
CMD Param_1 Param_2 Param_3
ZF %01x
Layer No.
%02x
Text Box No.
%01x
Wrap Mode
A Wrap mode of 0 means no automatic wrapping occurs. If the text is too
wide for the box, the point size is automatically reduced. Existing line breaks
in the text are maintained.
If a wrap mode of 1 allows Easytext to insert additional line breaks between
words to use the size of the text box without excessive shrinking of the text.