Installation guide
Programming 32
Macros
Macro programming
The interaction between the different devices connected to ML Gateway is dened by means of macros. A macro consists of a set of events and a
list of commands.
Whenever any of the events dened in a macro occurs (for example, a key press on a keypad, or a Control command on Beo5), the macro is
triggered. This means that all the commands in that macro will be executed in order.
To dene a new macro:
- Select Programming - Macros.
- Click the Add macro button appering on the macro list.
- Dene a name for the new macro and click Update name.
Copying macro denitions
A complete macro can be duplicated using the Clone button. This will make an exact new copy of a macro.
Also, selected events or commands can be copied from one macro to another. Select a group of events or commands using the check boxes, and
use the Copy buttons. These copied events or commands can later be pasted into another macro.
Copied events and commands are stored independently, so you can copy both events and commands and then paste them into another macro.
! ML Gateway does not support inserting events or commands in existing lists.
Workaround:
1 Add the missing command to the end of the command list.
2 Select the commands between the added commands and the wanted insertion point.
3 Copy, Remove and Paste the commands.
Orphan commands and events
If commands and events are already dened for a resource, and that resource is modied to another address, the events and commands become
orphan (without an associated resource).
Orphan events or commands still works, and refers to the original addressing of the resource.
The macro screen signals the presence of orphan commands or events, and a report is available listing them all.