Post 1 made on Friday July 23, 2010 at 03:21 |
brodyboy Long Time Member |
Joined: Posts: | April 2008 375 |
|
|
I want to construct a conditional IF/THEN/ELSE macro around the power status of a component that doesn't have a discrete POWER STATUS query command. So I'm wondering if it's possible to use an existing status query as a "proxy," where a response indicates the power-on state, and a failure to respond (indicating a power-off state) would result in execution of the ELSE argument. Example: IF [PIP status] Pioneer 151FD returns [PIP OFF] ⇒THEN ....macro for the power-on state ⇒ELSE ....macro for the power-off state
Or would the failure to receive any response (from the powered-off component) simply result in an error that terminates the whole macro?
|
|
|