Re: iTunes - referring to a track in the library via its database ID
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