Writing the macros using variables should not be a problem (see below for my guess without testing). I think the issue is that the remote is not "interruptible" during a macro. In other words, it does not detect button presses during a running macro.
Let us know if the remote will allow this to work. My guess is it will create an infinite loop and you’ll have to use the silver button to reboot.
For the macros you need three buttons (BTN1, INTRM, LOOP) and one variable (BUTTON1)
BTN1 -- Button to start and end process. Defined as a variable macro with steps:
BUTTON1 Variable = 0
--Set Variable BUTTON1 to 1
--Perform button/macro INTRM
BUTTON1 Variable = 1
--Set Variable BUTTON1 to 0
INTRM (on a hidden page) -- Defined as a variable macro with steps:
BUTTON1 Variable = 1
--Perform button/macro LOOP
BUTTON1 Variable = 0
--(do nothing)
LOOP (on a hidden page) -- Defined as a normal macro with steps:
--IR code for button you want to repeat
--Delay if desired
--Perform button/macro INTRM
(I edited format so you would be able to read)
Last edited by James Paul Hartbarger
on April 14, 2006 10:27.