Keyboard Question (from Directv Sample)

More
2 years 4 months ago #2043 by bitzerjd
Keyboard Question (from Directv Sample) was created by bitzerjd
In the Directv sample, there is a box above the keyboard that shows the numbers hit.  The label for the button has "{{av_{{active_directv_{{clientname}}}}_buffer}}".  I wanted to use the button with my Tivo's and replaced active_directv with active_tivo.  It didn't work....  Is there a way to do this?   Again, I simply want the box to show the numbers punched into the keypad.

Thanks!

Please Log in to join the conversation.

More
2 years 4 months ago #2105 by davep
Replied by davep on topic Keyboard Question (from Directv Sample)
Also look at the commands that are on each of the number buttons on the keypad. That's where the buffer variable gets updated. Since the Tivo driver does not have a Tune command you would modify each of the number buttons with a macro like

Macro|
SetVariable|av_{{active_tivo_{{clientname}}}}_buffer~{{av_{{active_tivo_{{clientname}}}}_buffer}}<0 .. 9>!
AV|{{active_tivo_{{clientname}}~<0 ... 9>

Change <0 .. 9> to the actual number on each  button. This is zero

Macro|SetVariable|av_{{active_tivo_{{clientname}}}}_buffer~{{av_{{active_tivo_{{clientname}}}}_buffer}}0!AV|{{active_tivo_{{clientname}}~0

The clear button command becomes SetVariable|av_{{active_tivo_{{clientname}}}}_buffer~



 

Please Log in to join the conversation.

More
2 years 4 months ago #2106 by bitzerjd
Replied by bitzerjd on topic Keyboard Question (from Directv Sample)
I see how the buffer variable is updated, but, how does this work for something like 501...three presses. is the buffer appended or replaced?

Please Log in to join the conversation.

More
2 years 4 months ago #2108 by bitzerjd
Replied by bitzerjd on topic Keyboard Question (from Directv Sample)
Works Great! Thanks again

Please Log in to join the conversation.

Time to create page: 0.173 seconds