• 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 - referring to a track in the library via its database ID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes - referring to a track in the library via its database ID


  • Subject: Re: iTunes - referring to a track in the library via its database ID
  • From: has <email@hidden>
  • Date: Thu, 7 Dec 2006 14:38:22 +0000

Brennan wrote:

tell application "iTunes"
	tell library playlist
		tracks whose database ID is 1234
	end tell
end tell

So... what is the correct incantation? Isn't this a very basic thing?

'library playlist' is an element, not a property. Use:

	tell library playlist 1
		tracks whose database ID is 1234
	end tell

has
--
http://freespace.virgin.net/hamish.sanderson/
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org


_______________________________________________ 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/mailman//archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Re: Problems with grouped boxes in Quark
  • Next by Date: System Events Mouseup
  • Previous by thread: iTunes - referring to a track in the library via its database ID
  • Next by thread: Problems with grouped boxes in Quark
  • Index(es):
    • Date
    • Thread