Creating a Macro - Updated for V2.1

Macros are used to send multiple commands from a single button. In iRule, you can combine commands from the same Device, different Devices, different Command types (IR, serial & IP) and different Gateways offering you maximum flexibility. This tutorial covers how to create and configure a macro. Delays are now automatically added to a macro between the commands, but can still be modified to customize timing.

  1. Drag and drop Device codes to the button.
  2. Drag and drop addititional Device codes to the button.
  3. Repeat the drag and drop to complete the command macro
  4. Adjust the order if needed.

Step One: Devices

{rokbox thumb=|http://video.iruleathome.com/docs/macro21/thumb1.png| title=|Step One :: Image Title| album=|tutorial|}http://video.iruleathome.com/docs/macro21/picture1.png{/rokbox}

Expand the Device and Codes to show the available Codes that can be assigned to a button.

 

Step Two: Drag and Drop

{rokbox thumb=|http://video.iruleathome.com/docs/macro21/thumb2.png| title=|Step Two :: Image Title| album=|tutorial|}http://video.iruleathome.com/docs/macro21/picture2.png{/rokbox}

Drag and drop the Device code to the button in the main interface window. The button where the command will be assigned is highlighted in blue.

 

Step Three: Functional Button

{rokbox thumb=|http://video.iruleathome.com/docs/macro21/thumb3.png| title=|Step Three :: Image Title| album=|tutorial|}http://video.iruleathome.com/docs/macro21/picture3.png{/rokbox}

The button now has a single Device code assigned to it. The button is no longer grayed out.

 

Step Four: Additional Codes

{rokbox thumb=|http://video.iruleathome.com/docs/macro21/thumb4.png| title=|Step Four :: Image Title| album=|tutorial|}http://video.iruleathome.com/docs/macro21/picture4.png{/rokbox}

The button now has a single Device code assigned to it. The button is no longer grayed out.

 

Step Five: Additional Codes

{rokbox thumb=|http://video.iruleathome.com/docs/macro21/thumb5.png| title=|Step Five :: Image Title| album=|tutorial|}http://video.iruleathome.com/docs/macro21/picture5.png{/rokbox}

Drag and drop additional commands to the button.

 

Step Six: Additional Codes

{rokbox thumb=|http://video.iruleathome.com/docs/macro21/thumb6.png| title=|Step Six :: Image Title| album=|tutorial|}http://video.iruleathome.com/docs/macro21/picture6.png{/rokbox}

Drag and drop additional commands to the button.

 

Step Seven: Adjust as Needed

{rokbox thumb=|http://video.iruleathome.com/docs/macro21/thumb7.png| title=|Step Seven :: Image Title| album=|tutorial|}http://video.iruleathome.com/docs/macro21/picture7.png{/rokbox}

You can adjust the timing of the delays as needed. By default, the delays will be set to 0.2 seconds .

Get iRule

You'll need a Builder account to try or to use iRule. Once you have a Builder account, download the app to your iOS or Android device.

badge-app store white 180x60

badge-play

badge-amazon

Follow Us

icon-facebookicon-twittericon-youtube

 

Professional
Affiliations

icon-facebook