• 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
iTunes location parameter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iTunes location parameter


  • Subject: iTunes location parameter
  • From: Jeffrey Mattox <email@hidden>
  • Date: Wed, 14 Jun 2006 15:21:13 -0500

Why does this fail?

   tell application "iTunes"
      set theLoc to location of first file track of playlist "Library"
      get (first file track of playlist "Library" where location is theLoc)
    end tell

Results:  "iTunes got an error: A descriptor type mismatch occurred."

There appears to be no way to use location to reference a track in iTunes.

Any work around?

Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: iTunes location parameter
      • From: "J. Stewart" <email@hidden>
  • Prev by Date: Re: Photoshop CS2 overall scriptability
  • Next by Date: Re: iTunes location parameter
  • Previous by thread: Re: Scripting re: page breaks in Pages 2.0
  • Next by thread: Re: iTunes location parameter
  • Index(es):
    • Date
    • Thread