cool. FYI there are a lot more commands available in SqueezeCenter, so if you get an idea for something else you'd like to do take a look at the API documentation that is included in the SC web interface. (I looked for the interrupt-and-play-this-track-and-then-resume feature that you wanted but don't see a simple way to do it).
Here's some info about the command line interface, which is an easy way to test commands:
http://wiki.slimdevices.com/index.php/CLI The entire command set is available over the HTTP interface that this applescript is using.