barniestu
April 28th, 2005, 01:34 PM
Hi, i have been having a play with girder and tonto for a little while now and have come up with a ccf and GML comb which allows me to control Power DVD, WinTV and Windows media player. I have a 5.1 speaker system connected to my Sound Blaster Audigy. I control the volume of this by adjusting the master volume from net remote using a Girder command. I have been trying to get the volume level fed back to netremote as a percentage. I have succeded in creating a variable called "VolumeLevel" which is generated by a Get Volume command and the following LUA script
VolumeLevel = floor(volLevel_left / 65535 * 100)
This variable works perfectly with XPOSD, showing the volume as a percentage on my PC monitor. However when i use the send.able command to send this variable to a frame on my CCF on NetRemote called {VolumeLevel} nothing is displayed
NetRemote.SendLabel("VolumeLevel")
Could you please help me correct this problem
VolumeLevel = floor(volLevel_left / 65535 * 100)
This variable works perfectly with XPOSD, showing the volume as a percentage on my PC monitor. However when i use the send.able command to send this variable to a frame on my CCF on NetRemote called {VolumeLevel} nothing is displayed
NetRemote.SendLabel("VolumeLevel")
Could you please help me correct this problem