The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Getting iTunes Information from another system

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Getting iTunes Information from another system Posted: Dec 3, 2008 9:16 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Getting iTunes Information from another system
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

I thought I was going to have to create an Opentalk client/server setup in order to do a remote query of iTunes, but it turns out that AppleScript can do that directly. Say I want to talk to iTunes locally - I start my script like this:

tell application "iTunes"

If I want to do it across my network?

tell application "iTunes" of machine "eppc://username:password@machine_name"

And that's it - I can then send normal requests. The only other thing I needed to do is turn remote apple events on in the "Sharing" pane of system preferences. And that's it!

Now Listening to: May it Be by Celtic Women from: Celtic Women

Read: Getting iTunes Information from another system

Topic: Theory Meets Reality Previous Topic   Next Topic Topic: More on Implicit Receivers

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use