The ^uni section on – AMX Mio Modero R-4 User Manual

Page 72

Advertising
background image

Programming the Mio R-4

64

Mio Modero R-4

"^" Button Commands (Cont.)

^TEF

Set the text effect.

Set the text effect. The Text Effect is specified by name and can be found in TPD4.

Syntax:

"'^TEF-<vt addr range>,<button states range>,<text effect name>'"

Variable:

• variable text address range = 1 - 4000.

• button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

1 = Off state and 2 = On state).

• text effect name = Refer to theText Effects table on page 40 for a listing of text

effect names.

Example:

SEND_COMMAND Device,"'^TEF-500.504&510.515,1&2,Soft Drop Shadow

3'"

Sets the text effect to Soft Drop Shadow 3 for the button with variable text range 500-504
and 510-515.

^TXT

Assign a text
string to those

buttons with a
defined address
range

Assign a text string to those buttons with a defined address range. Sets Non-Unicode text.

Syntax:

"'^TXT-<vt addr range>,<button states range>,<new text>'"

Variables:

• variable text address range = 1 - 4000.

• button states range = 1 - 2 (1 = Off state, 2 = On state).

• new text = 1 - 50 ASCII characters.

Example:

SEND_COMMAND Device,"'^TXT-500.504&510.515,1&2,Test Only'"

Sets the On and Off state text for buttons with the variable text ranges of

500-504 & 510-515.

^UNI

Set Unicode text

Set Unicode text. For the ^UNI command (%UN and ^BMF command), the Unicode text
is sent as ASCII-HEX nibbles.

Syntax:

"'^UNI-<vt addr range>,<button states range>,<unicode text>'"

Variables:

• variable text address range = 1 - 4000.

• button states range = 1 - 2 (1 = Off state, 2 = On state).

• unicode text = Unicode HEX value.

Example:

SEND_COMMAND Device,"'^UNI-500,1,0041'"

Sets the button’s unicode character to ’A’.

Note: To send the variable text ’A’ in unicode to all states of the variable text

button 1, (for which the character code is 0041 Hex), send the following command:

SEND_COMMAND Device,"'^UNI-1,0,0041'"

Note: Unicode is always represented in a HEX value.

Advertising