• 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: Why can't I get properties.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iTunes: Why can't I get properties.


  • Subject: iTunes: Why can't I get properties.
  • From: Skeeve <email@hidden>
  • Date: Fri, 28 Mar 2008 11:04:27 +0100

Why does this not work?


tell application "iTunes"

   -- get what's selected
   set all_tracks to a reference to selection of front browser window

   -- this works
   get {album, artist} of first item of all_tracks

   -- this too
   get class of first item of all_tracks
   -- in my test it told me it was a file track

-- file tracks have a location property and inherit from track,
-- if I read the library correct.
-- So why does this fail?
get properties of first item of all_tracks
end tell


_______________________________________________
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: Why can't I get properties.
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: 3 random typefaces intermixed
  • Next by Date: Re: iTunes: Why can't I get properties.
  • Previous by thread: Quark frustration: setting rule below on paragraphs
  • Next by thread: Re: iTunes: Why can't I get properties.
  • Index(es):
    • Date
    • Thread