I'd like to hear others chime in, but I prefer to just send the command again. If you have discreet codes, your components will always turn on and off when you want. There isn't a need to set a variable to keep track of it. Especially if someone manually shuts the tv off by the button on the tv and not the remote. Your variables would not be in sync with what the remote thinks is the true status of the tv.
On my MX-3000 and MX-980, the only thing I use variables for is the Scientific Atlantic cable box. It uses a toggle power command so I need the variables to keep track of the power status (unless there are discreet codes I don't know about). Other than that, just resend the command.
Unless there is something else you are trying to do based on the power status?
I can post a screen shot of one of my macro commands using a variable. It would probably make your question on how to set it up more clearly.
On April 2, 2008 at 11:11, VSound said...
Can anyone help me, I don't seem to be doing the if and
else working properly in my macros. codes are still being
sent to my TV if it is already on. Not a big deal because
I have discrete codes, but i would still like to learn
it. Thanks.