dstanley, thanks much for your reply. I did get that far, and I've got the program working. I used a togglelinc dimmer. Love it: pause and play, and volume up and down, all in one little switch. My question was what happens when you the DHCP router assigns new IP addresses to the Sonos players? Then the code would no longer work. I figured out that I need to reserve the IP address for each player (using the MAC address) in the router administration tool. Is that they way you're doing it?