Hi,
<biz@[EMAIL PROTECTED]
> wrote:
> Hi there,
> this works in iTunes:
> set x to track 1 of library playlist 1 whose name is "Cry Freedom"
> but oddly, this doesnt:
> set x to track 1 of library playlist 1 whose track location contains
> "Cry Freedom"
Let drag and drop icon of Itunes app upon AppleScript Editor to display
Itunes dictionnary.
It shows this among others:
******
Class file track: a track representing an audio file (MP3, AIFF, etc.)
Plural form:
file tracks
Properties:
<Inheritance> track [r/o] -- inherits some of its properties
from the playlist class
location alias [r/o] -- the location of the file represented
by this track
******
BTW, the location property seems to be relevant to *file track* not to
*track* alone.
Be aware I was looking thru old ITunes and MacOs 9.2 versions!
So, I didn't try it, but hope this helps?
--
J.B.


|