Using the same button for different devices

I have been designing my remote to be a single page, but one of the requirements for this is to allow the same button to send different commands based on the device that is chosen. For instance, I currently have two sources: my Roku and my HD antenna. If I have selected “Roku”, my source on my Onkyo TXNR818 changes to “Game1”. All of my button bindings are currently set to execute Roku commands (left, right, home, etc). What I would like to do is have those same buttons send different values for my set-top box when my HD antenna source is selected. Is there a way to make the buttons send different commands based on the selected source? I have looked at “conditions”, but I don’t see a clear way to do this. I could always create duplicate buttons and change the “is visible” property, but that seems to be a “hack and slash” way to do the same thing.

Lastly, is there a way to upload files to a post? I assume it would be easier if I could upload my current build for someone to review. I’m sure I’m missing something! Thanks.

You would like them to send different values? Or you would like to send the same values to a different device?

If you want them to send different values then you should really create a new button because you are redefining it (likely a different logo etc). It’d make more sense to create a new button & use DataTriggers to change the IsVisible property. Or use Conditions to control which command is sent.

If you want to send the same values but to a different device, use templates. John has a good tutorial on how to accomplish this in his PageBrowser video.