talm
February 9th, 2005, 02:16 PM
I am trying to have a button that will change states depending on Zoom Player power state. When ZP is off, the button will be red and when pressed, it will turn on ZP and will change to green. When the button is Green and then pressed, ZP will close and the button will change back to Red.
I was able to get this to work on a WIN32 but not on my Dell Axim PPC. I might add that when I turn on ZP from the WIN32 NR machine, the button changes his color and I can control ZP but I can not get it to close or open ZP.
Here is my button setup;
ID Tag:
STATE:ZP.LinkActive:0
IR Name:
if NetRemote.GetVariable('ZP.LinkActive')=="1" then
NetRemote.ExecuteAction(-1,0, 1, 'ZOOM.Off', 0)
else
NetRemote.ExecuteAction(-1,0, 1, 'ZOOM.On', 0)
end
IR Code:
5001 0000 0000 0002 fc19 0007 0000 0000
Any Ideas?
Tal
I was able to get this to work on a WIN32 but not on my Dell Axim PPC. I might add that when I turn on ZP from the WIN32 NR machine, the button changes his color and I can control ZP but I can not get it to close or open ZP.
Here is my button setup;
ID Tag:
STATE:ZP.LinkActive:0
IR Name:
if NetRemote.GetVariable('ZP.LinkActive')=="1" then
NetRemote.ExecuteAction(-1,0, 1, 'ZOOM.Off', 0)
else
NetRemote.ExecuteAction(-1,0, 1, 'ZOOM.On', 0)
end
IR Code:
5001 0000 0000 0002 fc19 0007 0000 0000
Any Ideas?
Tal