18
M
X
-
i
O
S
i
P
A
D
/
i
P
H
O
N
E
R
E
M
O
T
E
Complete Control Mobile Programming Manual for MX-iOS
Variable
A variable is a placeholder for a value. In CCP, this value can be one of four categories:
True/False,
Integer, Integer[Min/Max],
or
String.
Clever use of variables can enable you to add all kinds of
elegant improvements to operation.
Add a Variable to the Macro
Follow the steps below to include a variable in a macro.
Highlight
one of the previously created
variables listed in the field on the left .
Modify
the state of the variable,
i.e. True, False
or
Invert
, to include in a macro.
For example: When a television is off, modify
the state of the
TV Power On
variable to False.
Send a power on command and modify the
variable to
TV Power On
is true.
Press
Set
to include the variable in the macro.
If you need to create a new variable, refer to
Add New
section on the next page.
Press the
Variable
icon to
open the Action Variable
Setting window.