Re: iTunes scripting
Re: iTunes scripting
- Subject: Re: iTunes scripting
- From: Matthew Smith <email@hidden>
- Date: Thu, 22 Jan 2009 07:52:30 +1100
- Thread-topic: iTunes scripting
on 22/01/2009 07:25 , Roy Whelden at email@hidden wrote:
> Why does the script below return "parameter error" when the location is a
> (seemingly) valid iTunes Store URL?
>
> Many thanks in advance,
>
> Roy Whelden
>
> tell application "iTunes"
> open location
> "http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=79033036&id=790
> 33083&s=143441"
> end tell
It's not valid for iTunes. iTunes expects a streaming audio URL to open
location. The sort of URL has to go via a web browser which then redirects
to a different URL which opens in iTunes. I am guessing this URL uses a
different protocol than http as the first part of the URL. Looking at the
Info.plist for iTunes it looks like it would be "itms", however it is not
just a replacement of the protocol in the URL.
--
Matthew Smith
_______________________________________________
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