I have a Sony XDR-F1HD, which is a great HD tuner, but limited in its control. The remote control has a simple 23-button interface.
Two buttons, in particular, are "toggle" buttons, POWER and BAND.
I'm using a USB-UIRT to blast IR commands to the XDR-F1HD. I'm also using Command Fusion to send commands from my iPhone.
I'd like to have a single button that would keep track of a couple of global variables. I understand that Intelliremote doesn't support variables. Does anyone have any ideas on how I could achieve this?
here's what I'd like to achieve, written in pseudocode...
; Turn XDR-F1HD ON if it is OFF
IF (POWER_STATE == OFF)
UIRTTransmit(Pronto code for toggling the Power)
; Switch the band to AM if it's currently tuned to FM
IF (BAND == FM)
UIRTTransmit(Pronto code for toggling the Band)
; Send command to tune the XDR-F1HD to Preset #1
UIRTTransmit(Pronto code for "1")
UIRTTransmit(Pronto code for "ENTER")