SEND_COMMANDs
39
Mio Modero R-4 Remote - Instruction Manual
Button Commands (Cont.)
^BOR
Set a border to a specific border style associated with a border value for those buttons with a defined address range.
Syntax:
"'^BOR-<vt addr range>,<border style name or border value>'"
Variable:
• variable text address range = 1 - 4000.
• border style name = Refer to theBorder Styles by Numbers table on page 60.
• border value = 0 - 41.
Examples:
SEND_COMMAND Device,"'^BOR-500.504&510.515,10'"
Sets the border by number (#10) to those buttons with the variable text range of 500-504 & 510-515.
SEND_COMMAND Device,"'^BOR-500.504&510,AMX Elite -M'"
Sets the border by name (AMX Elite) to those buttons with the variable text range of 500-504 & 510-515. The border style is
available through the TPDesign4 border-style drop-down list. Refer to
Border Styles by Numbers
on page 60 for more
information.
^BPP
Set or clear the protected page flip flag of a button. Zero clears the flag.
Syntax:
"'^BPP-<vt addr range>,<protected page flip flag value>'"
Variable:
• variable text address range = 1 - 4000.
• protected page flip flag value range = 0 - 4 (
0 clears the flag
).
Example:
SEND_COMMAND Device,"'^BPP-500,1'"
Sets the button to protected page flip flag 1 (sets it to password 1).
^BRD
Set the border of a button state/states
only if
the specified border is not the same as the current border. The border names are
available through the TPDesign4 border-name drop-down list.
Syntax:
"'^BRD-<vt addr range>,<button states range>,<border 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).
• border name = Refer toBorder Styles by Numbers table on page 60.
Example:
SEND_COMMAND Device,"'^BRD-500.504&510.515,1&2,Quad Line'"
Sets the border by name (Quad Line) to those buttons with the variable text range of 500-504 & 510-515. Refer to
Border
Styles by Name and Numbers
on page 60.
?BRD
Get the current border name.
Syntax:
SEND_COMMAND <DEV>,"'?BRD-<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 = 1014:
Flag - Zero
Value1 - Button state number
Value2 - Actual length of string
Value3 - Zero
Text - String that represents border name
Text length - Border name length
Example:
SEND COMMAND Device,"'?BRD-529,1'"
Gets the button 'OFF state' border information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1014
Flag = 0
VALUE1 = 1
VALUE2 = 22
VALUE3 = 0
TEXT = Double Bevel Raised -L
TEXT LENGTH = 22