Remote iTunes problems

Similar to a topic that was posted a year ago, but never resolved.

I’m trying to send some commands to iTunes on a local network computer. For some reason this works:

tell application "iTunes" of machine "eppc://user:pass@computer.local"
end tell

But this does not:

set remoteMachine to "eppc://user:pass@computer.local"
tell application "iTunes" of machine remoteMachine
end tell

I get the error “Can’t find remote machine.” Any ideas?

Try this:

 set my theRemoteApp to application ("eppc://user:pass@computer.local/iTunes")
 using terms from application "iTunes"
 tell theRemoteApp

I can’t test it at the moment, but it used to work…

YES! That worked! You rock dude! I am forever in your debt.