• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iTunes scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iTunes scripting
      • From: Michelle Steiner <email@hidden>
References: 
 >iTunes scripting (From: Roy Whelden <email@hidden>)

  • Prev by Date: Re: iTunes scripting
  • Next by Date: Re: iTunes scripting
  • Previous by thread: Re: iTunes scripting
  • Next by thread: Re: iTunes scripting
  • Index(es):
    • Date
    • Thread