View Full Version : Trying to get creative with feedback
Mastiff
April 16th, 2003, 04:47 PM
I have been thinking a bit today, and I found out that it might be fun to change the display of zones (and computers, when multiple instances go public). Instead of a regular text feedback (like Kevin for my son's room, which is a separate zone, or Bathroom or whatever) would it be possible to take digital pictures of the sound unit (boombox or whatever) and use that, so when I'm on the bathroom zone I see the JVC Boom Blaster, when I'm on the living room zone I maybe see the Denon receiver and so on? This is of course just for fun, but isn't almost everything we do fun related? :D
brockgr
April 16th, 2003, 05:26 PM
So you want image feedback?
How about something like:
if (zone = "foo") then
NetRemote.SendImage("IMAGEBUTTON", "c:\\first.jpg")
elseif (zone = "bar") then
NetRemote.SendImage("IMAGEBUTTON", "c:\\second.jpg")
else
NetRemote.SendImage("IMAGEBUTTON", "c:\\other.jpg")
end
Where IMAGEBUTTON is a CCF button set up with the Image feedback IR code.
Gavin
Mastiff
April 17th, 2003, 02:11 AM
Even I understand that! It looks a lot like the old DOS batch files! Can I add more "else", or do I add "elseif"? I will need five different, if I'm not mistaken.
Ben S
April 20th, 2003, 09:38 AM
I'm sure you've figured this out already, but just to complete the thread, you'll add more elseif's.
if (zone = "foo") then
NetRemote.SendImage("IMAGEBUTTON", "c:\\first.jpg")
elseif (zone = "bar") then
NetRemote.SendImage("IMAGEBUTTON", "c:\\second.jpg")
elseif (zone = "world") then
NetRemote.SendImage("IMAGEBUTTON", "c:\\third.jpg")
else
NetRemote.SendImage("IMAGEBUTTON", "c:\\other.jpg")
end
.etc
Mastiff
April 20th, 2003, 09:46 AM
Thanks, I hadn't, I've had some feedback problems (another thread). Have you suddenly come out of hibernation? Suddenly you're all over the place! :wink:
Ben S
April 20th, 2003, 10:05 AM
I usually keep my nose into the code while I have the free time, and then surface to see what's going on here. I respond to all the messages that are outstanding at once.
I tend to do the same thing with email, which is kind of crappy. Especially when I assume I've replied to some emails that I haven't.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.