• 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
Get iTune File Track by Alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get iTune File Track by Alias


  • Subject: Get iTune File Track by Alias
  • From: <email@hidden>
  • Date: Wed, 14 Apr 2004 16:48:47 -0700 (PDT)

Is there a way to find an iTune track given an alias to the file? I get a type
mismatch whenever I try. This gives a "iTunes got an error: A descriptor type
mismatch occurred."

tell application "iTunes"
set myAlias to location of item 1 of file tracks of playlist "Library"
get file tracks of playlist "Library" whose location is myAlias
end tell

Seems simple enought that it would work to me.

-jdr
_______________________________________________
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:
    • Re: Get iTune File Track by Alias
      • From: Michael Terry <email@hidden>
  • Prev by Date: Re: Adding a doc icon flag
  • Next by Date: Re: wordx & AS
  • Previous by thread: Re: Adding a doc icon flag
  • Next by thread: Re: Get iTune File Track by Alias
  • Index(es):
    • Date
    • Thread