Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: iTunes: Sim...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 1563 of 1643
Post > Topic >>

Re: iTunes: Simple question: Why doesn't this work?

by jb@[EMAIL PROTECTED] (Joseph.B) Jan 27, 2008 at 02:27 PM

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.
 




 3 Posts in Topic:
iTunes: Simple question: Why doesn't this work?
biz@[EMAIL PROTECTED]   2008-01-27 03:38:22 
Re: iTunes: Simple question: Why doesn't this work?
jb@[EMAIL PROTECTED] (Jo  2008-01-27 14:27:20 
Re: iTunes: Simple question: Why doesn't this work?
Jolly Roger <jollyroge  2008-01-27 09:36:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 13:49:02 CDT 2008.