Remote control of iTunes from another computer

Hi,

I’ve created some scripts to control iTunes from another computer via remote apple events. Problem is, I have to keep entering my username and password - keychain won’t remember it. I click the box ‘add to keychain’, try to add a keychain via ‘keychain access’ app… It doesn’t give me the option to ‘always allow’. Weird thing is that it works fine if I run it from within script editor.

what gives??
:rolleyes:

I’ve been trying to do the same thing, but have had no success specifying the machine in the Tell statement. How have you been doing it? I used to have a cool REALBasic app with an AppleScript built into it, so I could drag a URL onto the app running on my PowerBook, and it would get the URL on the desktop Mac (with the big monitor). I had a user account set up on the desktop Mac so I could put the username and password in the Tell statement. Would that work for you? If so, I might have the AppleScript with the syntax for providing the username and password in Mac OS 8.6. But since I no longer know how to specify the machine in Mac OS X’s version of AppleScript, my scripts may not help you much. Let me know if you want to see the syntax that used to work.

TIA,

–Lyle

I’m using
tell application “iTunes” of machine “eppc://192.168.1.2”

where 192.168.1.2 is the ip of the computer you’re trying to control. I think it works if you put the rendevous name in there too.

please let me know if anyone figures how to get past logging in everytime. I’m doing it with a stayopen app right now but I’d rather have scripts in my applescript dropdown menu for play, next…

That looks familiar-- I must’ve gotten that far once before.

What if you put the username in the URL:

tell application “iTunes” of machine “eppc://yogert909:dannon@192.168.1.2”

Would that work? If you didn’t want your Real password in there, I think you could create an account just for the use of the script.

It works!!

freekin’ sweet!

Remote controlling things with my computer is one of the small joys of life. And since I work on several different machines, this’ll save loads of time being able to skip tracks I’m not very fond of. I wonder what else I can control…

thanks so much :lol:

Cool! Kind of a rush, isn’t it?

You would be amazed at what you can control with AppleScript! You can even interface with X10 technology. Go to SmartHome.com to get your mind boggled.

You’re welcome, and thank you!

speaking of home automation with AppleScript, here’s a neat link to check out.

http://seracsoftware.com/x10.html