Programming the Mio R-4

"^" Button Commands (Cont.)

^BAT

Append non-unicode text.

Append

Syntax:

non-unicode text

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

 

 

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).

 

• new text = 1 - 50 ASCII characters.

 

Example:

 

SEND_COMMAND Device,"'^BAT-520,1,Enter City'"

 

Appends the text 'Enter City' to the button’s OFF state.

 

 

^BAU

Append unicode text. Same format as ^UNI.

Append

Syntax:

unicode text

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

 

 

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).

 

• unicode text = 1 - 50 ASCII characters. Unicode characters must be entered in Hex

 

format.

 

Example:

 

SEND_COMMAND Device,"'^BAU-520,1,00770062'"

 

Appends Unicode text '00770062' to the button’s OFF state.

 

 

^BCB

Set the border color to the specified color only if the specified border color is not the same

Set the border

as the current color.

 

color to the

Note: Color can be assigned by color name (without spaces), number or R,G,B value

specified color

(RRGGBB or RRGGBBAA).

 

Syntax:

 

"'^BCB-<vt addr range>,<button states range>,<color value>'"

 

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).

 

• color value = Refer to theRGB Values for all 88 Basic Colors table on page 35 for more

 

information.

 

Example:

 

SEND_COMMAND Device,"'^BCB-500.504&510,1,12'"

 

Sets the Off state border color to 12 (Yellow). Colors can be set by Color Numbers, Color

 

name, R,G,B,alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).

 

Refer to theRGB Values for all 88 Basic Colors table on page 35.

 

 

50

Mio Modero R-4

Page 56
Image 56
AMX Mio Modero R-4 manual Bat, Bau, Bcb