AppleScript via remote SSH

No Apple Remote Desktop available? Login using SSH and enter the following (using Shift + Return):

osascript << EOT
- applescript here -
EOT

I use this for starting iTunes on my iMac (which is upstairs) if I want to listen to stuff via my local network when I’m downstairs. My script for this:

osascript << EOT
tell application "iTunes"
end tell
EOT

This entry was posted on Friday, April 20th, 2007 at 21:41 and is filed under Mac OS X. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply