Re: iTunes scripting
Re: iTunes scripting
- Subject: Re: iTunes scripting
- From: Michelle Steiner <email@hidden>
- Date: Wed, 21 Jan 2009 16:21:57 -0700
On Jan 21, 2009, at 2:38 PM, Matthew Smith wrote: I wouldn’t say the dictionary is wrong. I would say that if it is an http URL then iTunes would expect it to be an audio stream. If it was an itms URL then it would be an iTunes Store link. E.g. “itms://something here”. I found the protocol in the Info.plist inside the iTunes.app package. The big question is what does iTunes expect for an itms URL.
I don't know whether that's true. For example, I just browsed to Queen's "We Are the Champions" in the iTunes Store, and right clicked on it. I then chose "Copy iTunes Store URL". I am not about to paste the result into this message:
Note that it is an http URL, not an itms URL.
However, I experimented a little, and found that to solve Roy's original problem and to answer your question, if you change "http" to "itms" in the URL, it will then open iTunes directly into the iTunes Store at the relevant item. Therefore, his script should read
tell application "iTunes" end tell
-- Michelle -- "I never told my religion, nor scrutinized that of another. I never attempted to make a convert, or wished to change another's creed. I have judged of other's religion by their lives, for it is from our lives, and not from our words, that our religion must be read."
~Thomas Jefferson
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden