While I was in the process of writing the scripts to copy tracks on to and off of my laptop, I noticed that there didn't seem to be a way to programmatically choose a remote application from an AppleScript.
But then I saw the Remote Management Scripts have a library script that takes care of this for you. With this script, you modify it with the ip address or Bonjour name of the remote and local name, and the user name and password for each.
This library would make it a lot easier to run my scripts. I am unsure about actually including it, as I don't know what licensing terms the scripts are distributed with.