Your Universal Remote Control Center
RemoteCentral.com
Complete Control by URC Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 2 made on Tuesday December 8, 2009 at 07:27
vbova27
Super Member
Joined:
Posts:
July 2006
2,987
The before and after is just the way the if then macro looks when you are selecting it from the tree menu. Don't worry about selecting 0 or 1. Just select the main button in your nested macro and it will execute the variable check on the button you specify. The reason you see 0 and 1 is simply because you actually created 2 buttons on the one button - a set of commands to execute if the condition is 0, and a set of commands to issue if the variable is 1. Just select the main macro (without going down to the variable level).

You are not "faking" if then variables on the MX-3000 - you are actually creating them. For example, if you careted the following:

Button 1 - CHECK_ROM
If 0 then page jump to Zone 1 Home Page
If 1 then page jump to Zone 2 Home Page

By aliasing to the check_room on your home page button you are in effect nesting a macro by making it a conditional check to see what zone your in and making the appropriate page jump.

This is a very simple example, but gives you an idea of how the if/then works. In CCP, the if/then is actually created with more of a programming look so you can see the whole statement at once - while cosmetically better, it doesnt offer any difference in the way it works.

Hope this helps,
Vincent


Hosting Services by ipHouse