I have searched, but have not been able to find an answer on the Forum...
I have a custom thermostat control page that has three buttons (among others) to indicate the MODE of my thermostats - OFF, COOL, and HEAT. I would like to be able to click on COOL, for example, and have the button change from its default state to a WAITING state (yellow, while the script waits for confirmation from the thermostat), and then to an ACTIVE state (blue, indicating that the thermostat has responded).
So, first, I need to understand how to use three different images for the button (white, yellow, and blue). And second, how to control when those states appear via Applescript.
Any help much appreciated. Thank you.