Post 12 made on Saturday May 31, 2014 at 12:30 |
King of typos Loyal Member |
Joined: Posts: | June 2002 5,281 |
|
|
I have an other problem. I am trying to modify the above script to accept a second "power off" command. The reasoning is because when my AVR is on the internet/iPod source, it tends to go into it's own little world and not accept the 1st IR command. Thus when I press and hold the button, it never shuts off.
Here's what I've done. I've gone into my AVR's activity panel and added "AVR_PWR_OFF" to the power off button. After that, I've added 'AVR_PWR_OFF' to the following line...
var w = CF.widget('AVR_OFF', 'POWER', 'AVR_PWR_OFF', 'HOME');
No matter what order I put it, it just nulls the entire script. I can press and hold the button and nothing happens. I even tried to put a second "AVR_OFF" and removed the AVR_PWR_OFF. Still, nothing happens.
I can't see where there's a value that I have to change to make a 4th command. Thinking that was my problem, but I suppose not.
Thank you, KOT
|
|
|