- Posts: 28
- Joined: Wed Dec 05, 2012 1:30 pm
I'm creating a macro to take a keyer off the air as one of a dozen steps. When recording the macro and clicking my way through the sequence of steps, one of the steps is to click the keyer to take it off air. So far so good, and the macro works fine.
But the state of the keyer in our case is unknown when the macro needs to run. Sometimes the keyer is on and other times might already be off. So if the keyer is already off, clicking the keyer button when creating the macro will turn the keyer on when the macro runs. One of the important functions of this macro is to ensure the keyer is always off.
Other than recording a separate macro to use if the keyer is already off, and potty training the operators to know which macros to use (this introduces the strong possibility of human error with volunteer operators), is there a way to code a macro so that it can test the state of the keyer, and only "click" the keyer if it is in the "on" state?
Maybe I missed it, but the macro recording process has no method that I am aware of to "test" the state of a switcher function, and then execute some conditional XML (or not) as appropriate to the ATEM function's state.
I'm OK coding XML if needed although a snippet example would help speed things along - but don't know if BMD has provided a way to test the state of an ATEM function like a keyer (or anything else).
Suggestions?
But the state of the keyer in our case is unknown when the macro needs to run. Sometimes the keyer is on and other times might already be off. So if the keyer is already off, clicking the keyer button when creating the macro will turn the keyer on when the macro runs. One of the important functions of this macro is to ensure the keyer is always off.
Other than recording a separate macro to use if the keyer is already off, and potty training the operators to know which macros to use (this introduces the strong possibility of human error with volunteer operators), is there a way to code a macro so that it can test the state of the keyer, and only "click" the keyer if it is in the "on" state?
Maybe I missed it, but the macro recording process has no method that I am aware of to "test" the state of a switcher function, and then execute some conditional XML (or not) as appropriate to the ATEM function's state.
I'm OK coding XML if needed although a snippet example would help speed things along - but don't know if BMD has provided a way to test the state of an ATEM function like a keyer (or anything else).
Suggestions?