Applescript error -2709 over SSH after hostconfig change
Applescript error -2709 over SSH after hostconfig change
- Subject: Applescript error -2709 over SSH after hostconfig change
- From: Russ <email@hidden>
- Date: Tue, 16 Jul 2002 10:30:50 -0400
I have a simple script which manipulates iTunes from the command line.
tell application "iTunes"
copy name of current track to current_tracks_name
copy artist of current track to current_artist_name
return current_artist_name & " - " & current_tracks_name
end tell
This worked fine over an ssh connection from another machine when I execute it via osascript. I changed /etc/hostconfig's hostname entry, rebooted, and now it won't work. If I execute the same script from a local shell window, it works fine. I changed the hostname entry back to its default -AUTOMATIC- and rebooted, but it still won't work.
Here is the error message I get when executing through SSH:
syntax error: Can't get the application's event dictionary. (-2709)
Any help identifying the problem would be greatly appreciated.
Thanks,
Russ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.