
SEND_COMMANDs
44
Mio Modero R-4 Remote - Instruction Manual
Button Commands (Cont.)
^ICO
Set the icon to a button.
Syntax:
"'^ICO-<vt addr range>,<button states range>,<icon index>'"
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).
• icon index range = 0 - 9900 (
a value of 0 is clear
).
Example:
SEND_COMMAND Device,"'^ICO-500.504&510.515,1&2,1'"
Sets the icon for On and Off states for buttons with variable text ranges of 500-504 & 510-515.
?ICO
Get the current icon index.
Syntax:
SEND_COMMAND <DEV>,"'?ICO-<vt addr range>,<button states range>'"
Variables:
• 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).
• custom event type = 1003:
Flag - Zero
Value1 - Button state number
Value2 - Icon index
Value3 - Zero
Text - Blank
Text length - Zero
Example:
SEND COMMAND Device,"'?ICO-529,1'"
Gets the button 'OFF state' icon index information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1003
Flag = 0
VALUE1 = 2
VALUE2 = 12
VALUE3 = 0
TEXT =
TEXT LENGTH = 0
^JSB
Set bitmap/picture alignment using a numeric keypad layout for those buttons with a defined address range.The alignment of 0
is followed by ',<left>,<top>'. The left and top coordinates are relative to the upper left corner of the button.
Syntax:
"'^JSB-<vt addr range>,<button states range>,<new text alignment>'"
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 alignment = Value of 1- 9 corresponds to the following locations:
Example:
SEND_COMMAND Device,"'^JSB-500.504&510.515,1&2,1'"
Sets the off/on state picture alignment to upper left corner for those buttons with variable text ranges of 500-504 &
510-515.
1
4
7
8
9
6
3
2
5
0
Zero can be used for an absolute position