• 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 of Track Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iTunes Location of Track Problem


  • Subject: iTunes Location of Track Problem
  • From: Johnny AppleScript <email@hidden>
  • Date: Sun, 17 Aug 2003 17:47:54 -0600

Hello All,

tell application "iTunes"
set p to library playlist 1
set {theName, theArtist, theLocation} to {name, artist, location} of
the current track
set n to every track of p whose name is theName
--> expected result
set a to every track of p whose name is the artist
--> expected result
set l to every track of p whose location is theLocation
-->"-10001: iTunes got an error: A descriptor type mismatch occurred."
end tell

Why can't I identify a track id by its location? Solution?

TIA

JA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Netscape email scripting
      • From: Kelvin Aitken <email@hidden>
References: 
 >Re: Script Editor 2 beta 2: how come app launches? (From: John Delacour <email@hidden>)

  • Prev by Date: Re: AppleScript --> HTML
  • Next by Date: Netscape email scripting
  • Previous by thread: Re: Script Editor 2 beta 2: how come app launches?
  • Next by thread: Netscape email scripting
  • Index(es):
    • Date
    • Thread