User manual

Automation Protocol Easytext Commands
Miranda Technologies Ltd Page 222
Set Text Drop Shadow Z9
The drop shadow of the text can be adjusted with this command.
CMD Param_1 Param_2 Param_3 Param_4 Param_5 Param_6
Z9 %01x
Layer No.
%02x
Text Box
No.
%02x
X Offset
%02x
Y Offset
%02x
Trans.
%06x
Colour
Example:
void ChangeTextBgnd(int Layer, int BoxNo,
int Xoff, int Yoff,
int Transparency, int Colour)
{
remote_send ("%01x%02x%02x%02x%02x%06x", Layer,
BoxNo, Xoff & 0xFF, Yoff & 0xFF,
Transparency, Colour);
}
The X and Y offsets are the distance in pixels from the text which the drop
shadow falls. Positive numbers are down and right. Do not forget to limit
these numbers to two digits. Setting these both to zero turns off the drop
shadow.
The transparency of the drop shadow can be set with ‘trans.’ where 0xFF is
solid colour and 0x00 is transparent.
Set Text Tracking ZB
The tracking (internal inter-character spacing) of text can be modified with
this command.
CMD Param_1 Param_2 Param_3
ZB %01x
Layer No.
%02x
Text Box No.
%04x
Tracking
Positive numbers move the letters further apart, while negative tracking
closes up the gaps between letters. The unit of tracking is 1/64
th
of a pixel.